services: roundtable: build: . container_name: roundtable image: roundtable:latest ports: - "5000:5000" volumes: - app_data:/data - ./plugins:/app/plugins:ro - /mnt/Data/traefik/log:/var/log/traefik:ro - /var/run/docker.sock:/var/run/docker.sock:ro environment: - ROUNDTABLE_DATABASE_URL=postgresql+asyncpg://fabledscryer:fabledscryer@db/fabledscryer depends_on: db: condition: service_healthy restart: unless-stopped db: image: postgres:16-alpine environment: POSTGRES_USER: fabledscryer POSTGRES_PASSWORD: fabledscryer POSTGRES_DB: fabledscryer volumes: - pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U fabledscryer"] interval: 5s timeout: 5s retries: 5 restart: unless-stopped volumes: pgdata: app_data: