-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
executable file
·51 lines (46 loc) · 1.25 KB
/
docker-compose.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
version: "3"
services:
app:
build: ./modules/spotify/.docker/
container_name: ssmg_app
env_file:
.env
ports:
- ${APP_PORT}:${APP_PORT}
volumes:
- ./modules/spotify:/home/node/spotify
entrypoint: ./.docker/entrypoint.sh
depends_on:
- rabbitmq
networks:
- ssmg-network
video:
build: ./modules/video/.docker/
container_name: ssmg_video
restart: on-failure
env_file:
.env
volumes:
- ./modules/video:/home/python/video
entrypoint: ./.docker/entrypoint.sh
depends_on:
- rabbitmq
networks:
- ssmg-network
rabbitmq:
image: "rabbitmq:3.8-management-alpine"
container_name: ssmg_rabbitmq
hostname: rabbitmq
ports:
- "${RABBITMQ_UI_PORT}:${RABBITMQ_UI_PORT}"
- "${RABBITMQ_PORT}:${RABBITMQ_PORT}"
volumes:
- ./modules/rabbitmq/data:/var/lib/rabbitmq/
- ./modules/rabbitmq/definitions.json:/etc/rabbitmq/definitions.json
env_file:
.env
networks:
- ssmg-network
networks:
ssmg-network:
driver: bridge