-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathdocker-compose.yml
56 lines (51 loc) · 1.09 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
44
45
46
47
48
49
50
51
52
53
54
55
56
version: '3'
services:
latelier:
build:
context: .
dockerfile: Dockerfile
platform: linux/amd64
ports:
- '80:3000'
depends_on:
- mongo
environment:
ROOT_URL: ${APP_ROOT_URL:-http://localhost}
MONGO_URL: mongodb://mongo:27017/meteor
PORT: 3000
MAIL_URL: smtp://maildev:25
NODE_TLS_REJECT_UNAUTHORIZED: 0
METEOR_SETTINGS: '{
"generateFixtures": false,
"disableAccountCreation": false,
"attachmentsPath": "/attachments",
"email": {
"from": "noreply@localhost",
"prefix": "[latelier]"
},
"roles": {
"admin": ["admin@localhost"]
}
}'
volumes:
- attachments:/attachments
mongo:
image: mongo:latest
command:
- --storageEngine=wiredTiger
volumes:
- data:/data/db
mongoexpress:
image: mongo-express
environment:
ME_CONFIG_MONGODB_SERVER: mongo
ports:
- "8081:8081"
maildev:
image: djfarrelly/maildev
ports:
- "1080:80"
- "1025:25"
volumes:
data:
attachments: