-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (50 loc) · 910 Bytes
/
docker-compose.yml
File metadata and controls
52 lines (50 loc) · 910 Bytes
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
services:
mysql_db:
build: ./server/Database/
restart: always
volumes:
- db-data:/var/lib/mysql
networks:
- backend
server:
build: ./server/API/
restart: always
ports:
- "8080:8080"
networks:
- backend
environment:
- MYSQL_HOST=mysql_db
- MYSQL_USER=root
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=AreaDB
depends_on:
- mysql_db
# client_mobile:
# build: ./frontmobile/
# volumes:
# - front-data:/frontmobile/
client_web:
build: ./front-web/
ports:
- "8081:8081"
depends_on:
- server
# - client_mobile
volumes:
- front-data:/front-web/
adminer:
image: adminer
restart: always
ports:
- "8082:8080"
networks:
- backend
depends_on:
- mysql_db
networks:
backend:
driver: bridge
volumes:
front-data:
db-data: