-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
35 lines (32 loc) · 873 Bytes
/
Copy pathdocker-compose.dev.yml
File metadata and controls
35 lines (32 loc) · 873 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
# Development overrides — run with:
# docker compose -f docker-compose.yml -f docker-compose.dev.yml up
#
# This file only specifies deltas from docker-compose.yml.
# Compose merges the two files at runtime.
services:
postgres:
ports:
- "${POSTGRES_PORT:-5432}:5432"
backend:
build:
target: development
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
volumes:
- ./backend:/app
ports:
- "8000:8000"
environment:
ENVIRONMENT: development
LOG_LEVEL: DEBUG
frontend:
build:
target: development
command: npm run dev -- --host 0.0.0.0
volumes:
- ./frontend/src:/app/src
- ./frontend/index.html:/app/index.html
- ./frontend/eslint.config.js:/app/eslint.config.js
ports:
- "5173:5173"
environment:
VITE_API_URL: http://localhost:8000