-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.prod.backend.yml
121 lines (112 loc) · 2.69 KB
/
docker-compose.prod.backend.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
services:
video-streamer:
image: ghcr.io/elor170/streamer-server:latest
container_name: hmi-video-streamer
ports:
- "$STREAMER_BACKEND_PORT:80"
networks:
- hmi_network
restart: always
streamer-logger:
image: ghcr.io/elor170/streamer-logger:latest
container_name: hmi-streamer-logger
environment:
- PORT=$STREAMER_BACKEND_PORT
- MONGO_URI=$MONGO_URI
ports:
- "$STREAMER_LOGGER_PORT:80"
depends_on:
- hmi-mongo-db
- video-streamer
networks:
- hmi_network
restart: always
waterfall-backend:
image: ghcr.io/elor170/waterfall-backend:latest
container_name: hmi-waterfall-backend
environment:
RABBITMQ_HOST: hmi-rabbitmq
RABBITMQ_USER: $RABBITMQ_USER
RABBITMQ_PASS: $RABBITMQ_PASS
WATERFALL_QUEUE: $WATERFALL_QUEUE
WATERFALL_DB: $WATERFALL_DB
MONGO_URI: $MONGO_URI
FRONTEND_URL: http://$FRONTEND_IP:$HMI_FRONTEND_PORT
ports:
- "$WATERFALL_BACKEND_PORT:80"
depends_on:
- hmi-rabbitmq
networks:
- hmi_network
restart: always
waterfall-streamer:
image: ghcr.io/elor170/waterfall-streamer:latest
container_name: hmi-waterfall-streamer
environment:
RABBITMQ_HOST: hmi-rabbitmq
RABBITMQ_USER: $RABBITMQ_USER
RABBITMQ_PASS: $RABBITMQ_PASS
WATERFALL_QUEUE: $WATERFALL_QUEUE
ports:
- "$WATERFALL_STREAMER_PORT:80"
depends_on:
- hmi-rabbitmq
networks:
- hmi_network
restart: always
game-server:
image: game-server:latest
container_name: hmi-game-server
environment:
MONGO_URI: $MONGO_URI
ports:
- "$GAME_PORT:80"
depends_on:
- hmi-mongo-db
networks:
- hmi_network
restart: always
hmi-mongo-db:
image: mongo:latest
container_name: hmi-mongo-db
ports:
- "27017:27017"
volumes:
- ~/db:/data/db
networks:
- hmi_network
restart: always
mongoexpress:
image: mongo-express
container_name: mongo-express
environment:
ME_CONFIG_MONGODB_SERVER: hmi-mongo-db
ME_CONFIG_MONGODB_URL: hmi-mongo-db:27017/
restart: always
ports:
- "8081:8081"
depends_on:
- hmi-mongo-db
networks:
- hmi_network
hmi-rabbitmq:
image: rabbitmq:management
container_name: hmi-rabbitmq
environment:
RABBITMQ_DEFAULT_USER: $RABBITMQ_USER
RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASS
restart: always
ports:
- "15671:15671"
- "15672:15672"
- "15691:15691"
- "15692:15692"
- "25672:25672"
- "4369:4369"
- "5671:5671"
- "5672:5672"
networks:
- hmi_network
networks:
hmi_network:
driver: bridge