-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
43 lines (40 loc) · 977 Bytes
/
docker-compose.override.yml
File metadata and controls
43 lines (40 loc) · 977 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
services:
frontend:
restart: "no"
ports:
- "5173:80"
build:
context: ./frontend
args:
- NODE_ENV=development
db:
restart: "no"
ports:
- "5432:5432"
backend:
restart: "no"
ports:
- "8000:8000"
build:
context: ./backend
command:
- fastapi
- dev
- --host
- "0.0.0.0"
- --port
- "8000"
- "app/main.py"
develop:
# Create a `watch` configuration to update the app
# https://docs.docker.com/compose/file-watch
watch:
# Sync the working directory with the `/app` directory in the container
- action: sync
path: .
target: /${PROJECT_NAME?Variable not set}
ignore:
- .venv/
# Rebuild the image if dependencies change by checking uv.lock
- action: rebuild
path: ./uv.lock