-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
44 lines (43 loc) · 937 Bytes
/
docker-compose.yaml
File metadata and controls
44 lines (43 loc) · 937 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
services:
client:
build:
context: ./Client
dockerfile: ./Dockerfile
container_name: expense-tracker-frontend
ports:
- "5173:5173"
env_file:
- path: ./Client/.env
volumes:
- /frontend/node_modules
develop:
watch:
- action: sync
path: ./Client
target: /frontend
ignore:
- node_modules
- action: rebuild
path: ./Client/package.json
depends_on:
- server
server:
build:
context: ./Server
dockerfile: ./Dockerfile
container_name: expense-tracker-backend
ports:
- "3000:3000"
volumes:
- /backend/node_modules
env_file:
- path: ./Server/.env
develop:
watch:
- action: sync
path: ./Server
target: /backend
ignore:
- node_modules
- action: rebuild
path: ./Server/package.json