-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
43 lines (36 loc) · 1.1 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3'
services:
neologism:
container_name: neologism_app
image: ghcr.io/semantic-society/neologism/neologism2:latest
depends_on:
- mongo
volumes:
- data:/data/uploads
ports:
- '80:80'
environment:
# Required for meteor server startup
# https://docs.meteor.com/v2.2/environment-variables.html
PORT: 3000
MONGO_URL: mongodb://mongo:27017/meteor
METEOR_SETTINGS: '{ "storageLocation":"/data/uploads/vocabularies","forbidClientAccountCreation" :"false" }'
HTTP_FORWARDED_COUNT: 1
ROOT_URL: ${ROOT_URL:-http://localhost/api}
# Required for meteor client-side bundle
# used as external in angular static bundle
METEOR_CLIENT_CONFIG_URL: ${METEOR_CLIENT_CONFIG_URL:-http://localhost/api}
mongo:
container_name: neologism_db
image: mongo:latest
command:
- --storageEngine=wiredTiger
volumes:
- data:/data/db
ports:
- '27017:27017'
recommender:
container_name: neologism_recommender
image: ghcr.io/semantic-society/recommender/recommender:latest
volumes:
data: