-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.backend-dev.yml
More file actions
43 lines (42 loc) · 1.23 KB
/
docker-compose.backend-dev.yml
File metadata and controls
43 lines (42 loc) · 1.23 KB
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:
backend:
build: ./backend
env_file:
- ./backend/.env
environment:
DATABASE_URL: ${DATABASE_URL-}
REDIS_URL: ${REDIS_URL-}
ports:
- "${BACKEND_HOST_PORT:-8000}:8000"
- "${POSTGRES_HOST_PORT:-55432}:5432"
- "${REDIS_HOST_PORT:-56379}:6379"
volumes:
- ./backend/iris:/app/iris
- ./backend/tests:/app/tests
- ./backend/alembic.ini:/app/alembic.ini:ro
- ./backend/pyproject.toml:/app/pyproject.toml:ro
- ./backend/uv.lock:/app/uv.lock:ro
- ./backend/.python-version:/app/.python-version:ro
- backend_runtime_data_dev:/var/lib/iris
develop:
watch:
- action: restart
path: ./backend/iris
- action: restart
path: ./backend/tests
- action: restart
path: ./backend/alembic.ini
- action: rebuild
path: ./backend/pyproject.toml
- action: rebuild
path: ./backend/uv.lock
- action: rebuild
path: ./backend/.python-version
- action: rebuild
path: ./backend/entrypoint.sh
- action: rebuild
path: ./backend/Dockerfile
- action: rebuild
path: ./backend/.env
volumes:
backend_runtime_data_dev: