242398dc52
- Replace individual volume mounts (playbook_cache, plugins) with single app_data:/data mount - Change FABLEDNETMON_DATABASE__URL to FABLEDNETMON_DATABASE_URL (underscore to hyphen) - Simplify config.example.yaml to focus on required database URL setting - Document that other settings are now managed via the Settings UI Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
33 lines
698 B
YAML
33 lines
698 B
YAML
services:
|
|
app:
|
|
build: .
|
|
ports:
|
|
- "5000:5000"
|
|
volumes:
|
|
- app_data:/data
|
|
environment:
|
|
- FABLEDNETMON_DATABASE_URL=postgresql+asyncpg://fablednetmon:fablednetmon@db/fablednetmon
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
restart: unless-stopped
|
|
|
|
db:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_USER: fablednetmon
|
|
POSTGRES_PASSWORD: fablednetmon
|
|
POSTGRES_DB: fablednetmon
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U fablednetmon"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
pgdata:
|
|
app_data:
|