-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
95 lines (86 loc) · 1.76 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: '3'
services:
service_balance:
restart: always
build:
dockerfile: Dockerfile.dev
context: ./ServiceDriver
volumes:
- ./ServiceDriver/default.conf:/etc/nginx/conf.d/default.conf
ports:
- '3050:80'
networks:
- frontend
- backend
static_front:
build:
dockerfile: Dockerfile.dev
context: ./FrontEnd/nginx
volumes:
- ./FrontEnd/nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./FrontEnd:/code
networks:
- frontend
dynamic_front:
build:
dockerfile: Dockerfile.dev
context: ./FrontEnd
volumes:
- ./FrontEnd:/code
networks:
- frontend
api_route:
build:
dockerfile: Dockerfile.dev
context: ./api/nginx
volumes:
- ./api/nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./api:/code
networks:
- backend
api:
build:
dockerfile: Dockerfile.dev
context: ./api
volumes:
- ./api:/code
networks:
- backend
- database
db:
build:
dockerfile: Dockerfile.dev
context: ./User_DB
command: mysqld --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_USER: root
MYSQL_ROOT_PASSWORD: testcase
MYSQL_USER: FinalBot
MYSQL_PASSWORD: Trym3B30nc3
volumes:
- ./UserDat:/var/lib/mysql
- ./User_DB:/scripts
networks:
- database
graph_db:
build:
dockerfile: Dockerfile.dev
context: ./Graph_DB
volumes:
- ./GraphDat:/data
networks:
- database
volumes:
UserDat:
driver: local
User_DB:
driver: local
GraphDat:
driver: local
networks:
frontend:
driver: "bridge"
backend:
driver: "bridge"
database:
driver: "bridge"