-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
35 lines (34 loc) · 888 Bytes
/
docker-compose.dev.yml
File metadata and controls
35 lines (34 loc) · 888 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 compose — SQLite, hot-reload, no auth
# Usage: docker compose -f docker-compose.dev.yml up --build
#
# Source code is bind-mounted into the container so that uvicorn --reload
# picks up changes immediately without rebuilding the image.
services:
shoreguard:
build: .
ports:
- "8888:8888"
environment:
SHOREGUARD_RELOAD: "true"
SHOREGUARD_LOCAL_MODE: "true"
SHOREGUARD_NO_AUTH: "true"
SHOREGUARD_LOG_LEVEL: debug
PYTHONPATH: /app
volumes:
- ./shoreguard:/app/shoreguard:ro
- ./frontend:/app/frontend:ro
- shoreguard-data:/home/shoreguard/.config/shoreguard
entrypoint:
- python
- -m
- uvicorn
- shoreguard.api.main:app
- --host
- "0.0.0.0"
- --port
- "8888"
- --reload
- --reload-dir
- /app/shoreguard
volumes:
shoreguard-data: