-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
76 lines (67 loc) · 1.28 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: '3'
services:
redis:
image: redis
volumes:
- gouel-redis:/data
mongodb:
image: mongo
volumes:
- gouel-mongo:/data/db
ports:
- "27017:27017"
gouel-server:
build:
context: ./
dockerfile: ./release/server.dockerfile
ports:
- "5002:8080"
depends_on:
- mongodb
links:
- "mongodb:mongodb"
volumes:
- ./GouelServer:/usr/src/app
gouel-front:
build:
context: ./
dockerfile: ./release/front.dockerfile
volumes:
- ./GouelFront:/code/app
- "gouel-front:/code/app/app/static/img/events"
depends_on:
- gouel-server
- redis
links:
- "gouel-server:gouel-server"
- "redis:redis"
ports:
- "5001:5001"
webapp:
build:
context: ./
dockerfile: ./release/webapp.dockerfile
ports:
- "5003:80"
nginx:
build:
context: ./
dockerfile: ./release/nginx.dockerfile
ports:
- "80:80"
- "443:443"
depends_on:
- webapp
- gouel-front
- gouel-server
links:
- "webapp:webapp"
- "gouel-front:gouel-front"
- "gouel-server:gouel-server"
volumes:
- "nginx:/etc/nginx"
volumes:
gouel-redis:
gouel-mongo:
gouel-front:
nginx: