-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-master-amd64.yaml
63 lines (58 loc) · 1.11 KB
/
docker-compose-master-amd64.yaml
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
services:
nginx:
image: nginx:latest
container_name: nginx
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- ./deploy/config/nginx.conf:/etc/nginx/nginx.conf
- ./deploy/log/nginx:/var/log/nginx
depends_on:
- frontend
- backend
links:
- frontend
- backend
networks:
- wink
frontend:
image: kmuwink/wink-official-frontend:master-amd64
container_name: frontend
restart: always
networks:
- wink
backend:
image: kmuwink/wink-official-backend:master-amd64
container_name: backend
restart: always
volumes:
- ./deploy/log/backend:/app/logs
env_file:
- path: ./deploy/config/backend.env
required: true
depends_on:
- mongo
- redis
links:
- mongo
- redis
networks:
- wink
mongo:
image: mongo
container_name: mongo
restart: always
volumes:
- ./deploy/mongo_data:/data/db
networks:
- wink
redis:
image: redis
container_name: redis
restart: always
networks:
- wink
networks:
wink: