-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
63 lines (59 loc) · 1.23 KB
/
docker-compose.dev.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
version: '3.4'
services:
frontend_dev:
build:
context: Frontend
dockerfile: dev.dockerfile
working_dir: /usr/src/frontend
volumes:
- ./Frontend/:/usr/src/frontend
- /usr/src/frontend/node_modules
ports:
- '443:443'
- '49153:49153'
- '9876:9876'
- '49152:49152'
expose:
- '443'
- '49153'
- '9876'
- '49152'
command: /bin/sh start.sh
database_dev:
image: mysql:5.7
restart: on-failure
environment:
- "MYSQL_DATABASE=trackthor"
- "MYSQL_USER=root"
- "MYSQL_PASSWORD=root"
- "MYSQL_ROOT_PASSWORD=root"
backend_dev:
build:
context: Backend
dockerfile: dev.dockerfile
working_dir: /usr/src/backend
volumes:
- ./Backend/:/usr/src/backend
ports:
- '8443:8443'
- '35729:35729'
expose:
- '8443'
- '35729'
command: mvn spring-boot:run
links:
- database_dev:mysql
phpMyAdmin_dev:
image: phpmyadmin/phpmyadmin
ports:
- '8081:80'
expose:
- '8081'
environment:
- "MYSQL_ROOT_PASSWORD=root"
- "PMA_USER=root"
- "PMA_PASSWORD=root"
- "PMA_HOST=mysql"
- "PMA_PORT=3306"
links:
- database_dev:mysql