-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
35 lines (32 loc) · 716 Bytes
/
compose.yml
File metadata and controls
35 lines (32 loc) · 716 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
name: Springyield
services:
nginx:
container_name: springyield-nginx
image: nginx:1.26
restart: always
ports:
- "20300:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- vite-vue
- springboot
vite-vue:
container_name: springyield-vite-vue
build:
context: .
dockerfile: vite-vue.dockerfile
restart: always
expose:
- "5173" # internal only, not published to host
volumes:
- ./frontend:/app
- /app/node_modules
springboot:
container_name: springyield-springboot
build:
context: .
dockerfile: springboot.dockerfile
restart: always
volumes:
- ./backend:/app/backend