-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
63 lines (59 loc) · 1.28 KB
/
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
services:
frontend:
build: ./frontend
restart: unless-stopped
container_name: ${EXPLORIFY_CLIENT_NAME}
depends_on:
- backend
env_file:
- .env
volumes:
- "./frontend:/app"
ports:
- ${EXPLORIFY_CLIENT_PORT}:3000
backend:
build: ./backend
restart: unless-stopped
container_name: ${EXPLORIFY_WEBSERVER_NAME}
depends_on:
- rabbitmq
ports:
- ${EXPLORIFY_WEBSERVER_PORT}:3001
env_file:
- .env
playlist_processor:
build: ./processor
restart: unless-stopped
depends_on:
- rabbitmq
- mysql
ports:
- ${EXPLORIFY_PROCESSOR_PORT}
env_file:
- .env
rabbitmq:
image: rabbitmq:3-management-alpine
restart: unless-stopped
container_name: ${RABBITMQ_SERVER_NAME}
depends_on:
- mysql
ports:
- ${RABBITMQ_SERVER_PORT0}:5672
- ${RABBITMQ_SERVER_PORT1}:15672
volumes:
- ./rabbitmq/data/:/var/lib/rabbitmq/
- ./rabbitmq/log/:/var/log/rabbitmq
env_file:
- .env
mysql:
build:
context: ./database/
image: "mysql:8.0"
container_name: ${MYSQL_HOST_NAME}
restart: unless-stopped
ports:
- ${MYSQL_HOST_PORT}:3306
volumes:
- ./database/data:/var/lib/mysql
env_file:
- .env