-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev1.yml
66 lines (60 loc) · 1.46 KB
/
docker-compose.dev1.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
57
58
59
60
61
62
63
64
65
66
version: '2'
services:
sms-bot:
build: ./sms-bot/
container_name: sms-bot
expose:
- 3000
volumes:
- ./sms-bot/src/:/usr/src/app/src/
- ./sms-bot/test/:/usr/src/app/test/
environment:
- "TERM=xterm-256color"
- TOKEN
- DISABLE_REDIS
- MESSENGER_VALIDATION_TOKEN
- MESSENGER_PAGE_ACCESS_TOKEN
- VIRTUAL_HOST=dev1.kdoveton.com
- LETSENCRYPT_HOST=dev1.kdoveton.com
- HTTPS_METHOD=redirect
- VIRTUAL_PORT=3000
links:
- redis
- mock-service
- nginx-proxy
- nginx-letsencrypt
mock-service:
build: './mock-service/'
container_name: mock-service
ports:
- 3001:3001
volumes:
- ./mock-service/:/usr/src/app/
mongo:
image: mongo:3.4.3
volumes:
- /usr/src/.mongo:/data/db
redis:
image: redis:3.0
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- /certs:/etc/nginx/certs
- /etc/nginx/vhost.d
- /usr/share/nginx/html
nginx-letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
container_name: nginx-letsencrypt
volumes:
- /var/run/docker.sock:/tmp/docker.sock:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
volumes_from:
- nginx-proxy
links:
- nginx-proxy