-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
89 lines (82 loc) · 1.84 KB
/
docker-compose.yml
File metadata and controls
89 lines (82 loc) · 1.84 KB
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
services:
mysql:
image: mysql:8.0
container_name: orchestrator-mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: queue
MYSQL_USER: app
MYSQL_PASSWORD: app123
volumes:
- mysql-data:/var/lib/mysql
ports:
- "3306:3306"
redis:
image: redis:7
container_name: orchestrator-redis
restart: always
ports:
- "6379:6379"
minio:
image: minio/minio
container_name: orchestrator-minio
restart: always
environment:
MINIO_ROOT_USER: admin
MINIO_ROOT_PASSWORD: admin123
volumes:
- minio-data:/data
ports:
- "9001:9001"
command: server /data --console-address ":9001"
neo4j:
image: neo4j:5
container_name: orchestrator-neo4j
restart: always
environment:
NEO4J_AUTH: neo4j/password
ports:
- "7474:7474"
- "7687:7687"
volumes:
- neo4j-data:/data
backend:
build: ../queue-orchestrator-back
volumes:
- ../queue-orchestrator-back:/var/www/html
container_name: orchestrator-backend
restart: always
depends_on:
- mysql
- redis
- minio
- neo4j
environment:
APP_ENV: development
DB_HOST: mysql
DB_PORT: 3306
DB_DATABASE: queue
DB_USERNAME: app
DB_PASSWORD: app123
ports:
- "9000:9000"
nginx:
image: nginx:stable
container_name: queue-orchestrator-nginx
ports:
- "80:80"
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
depends_on:
- backend
realtime:
build: ../queue-orchestrator-realtime
container_name: orchestrator-realtime
ports:
- "3001:3001"
- "8080:8080"
volumes:
mysql-data:
minio-data:
neo4j-data: