This commit is contained in:
2026-01-25 16:46:50 +01:00
parent 97c4bfd285
commit a9cf50986c
60 changed files with 377 additions and 5683 deletions

View File

@@ -1,4 +1,4 @@
version: '3.8'
version: "3.8"
# Development overrides for docker-compose.yml
# Use with: docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
@@ -28,32 +28,10 @@ services:
- ./logs:/app/logs
command: ["python", "-m", "guardden", "--reload"]
ports:
- "5678:5678" # Debugger port
- "5678:5678" # Debugger port
stdin_open: true
tty: true
dashboard:
build:
context: .
dockerfile: Dockerfile
target: development
image: guardden-dashboard:dev
container_name: guardden-dashboard-dev
environment:
- GUARDDEN_LOG_LEVEL=DEBUG
- PYTHONDONTWRITEBYTECODE=1
- PYTHONUNBUFFERED=1
volumes:
# Mount source code for hot reloading
- ./src:/app/src:ro
- ./migrations:/app/migrations:ro
# Serve locally built dashboard assets (optional)
- ./dashboard/frontend/dist:/app/dashboard/frontend/dist:ro
command: ["python", "-m", "guardden.dashboard", "--reload", "--host", "0.0.0.0"]
ports:
- "8080:8000"
- "5679:5678" # Debugger port
db:
environment:
- POSTGRES_PASSWORD=guardden_dev
@@ -78,8 +56,8 @@ services:
container_name: guardden-mailhog
restart: unless-stopped
ports:
- "1025:1025" # SMTP
- "8025:8025" # Web UI
- "1025:1025" # SMTP
- "8025:8025" # Web UI
networks:
- guardden