-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdocker-compose.yml
53 lines (53 loc) · 1.25 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
version: '2'
services:
app:
image: institutoupdate/liane:latest
# Comment-out below to pull image from docker hub
build: .
links:
- mongo
- redis
ports:
- 3000:3000
environment:
NODE_ENV: production
ROOT_URL: http://example.com
MONGO_URL: mongodb://mongo:27017/meteor
STARTUP_DELAY: 5
METEOR_SETTINGS: |-
{
"public": {
"deployMode": "production",
"domain": "example.com",
"appName": "Liane",
"appEmail": "[email protected]"
},
"facebook": {
"clientId": "<YOUR APP ID>",
"clientSecret": "<YOUR APP SECRET>"
},
"redis": {
"host": "redis",
"port": "6379"
},
"email": {
"mail": {
"host": "smtp.gmail.com",
"port": 587,
"username": "[email protected]",
"password": "x",
"admins": ["[email protected]"]
},
"admins": ["[email protected]"]
}
}
mongo:
image: mongo
volumes:
- ./.data/database:/data/db
ports:
- 27018:27017
redis:
image: redis
volumes:
- ./.data/redis:/data