-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
72 lines (66 loc) · 1.35 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
64
65
66
67
68
69
70
71
72
version: '3'
services:
mysql:
container_name: ppundo-plus--mysql
build:
context: ./db
dockerfile: Dockerfile
env_file: ./.env
volumes:
- ./db/data:/var/lib/mysql
ports:
- "7172:3306"
networks:
- ppundo-plus-network
phpmyadmin:
container_name: ppundo-plus--phpmyadmin
image: phpmyadmin/phpmyadmin
ports:
- 7173:80
env_file: ./.env
depends_on:
- mysql
networks:
- ppundo-plus-network
frontend:
container_name: ppundo-plus--frontend
build:
context: ./frontend
dockerfile: dev.Dockerfile
env_file: ./.env
ports:
- 7170:3000
networks:
- ppundo-plus-network
backend:
container_name: ppundo-plus--backend
build:
context: ./backend
dockerfile: dev.Dockerfile
env_file: ./.env
volumes:
- ./backend/:/app
ports:
- 7171:8080
depends_on:
- mysql
networks:
- ppundo-plus-network
static-file-server:
container_name: ppundo-plus--static-file-server
build:
context: ./frontend
dockerfile: static_file_server.Dockerfile
volumes:
- ./frontend/public:/usr/share/nginx/html
ports:
- "7174:80"
networks:
- ppundo-plus-network
depends_on:
- frontend
volumes:
mysql:
networks:
ppundo-plus-network:
driver: bridge