services: postgres: image: postgres:14-alpine restart: unless-stopped healthcheck: test: pg_isready -d drop -U drop interval: 30s timeout: 60s retries: 5 start_period: 10s volumes: - $APPDATA/drop/db:/var/lib/postgresql/data environment: - POSTGRES_PASSWORD=drop - POSTGRES_USER=drop - POSTGRES_DB=drop drop: image: ghcr.io/drop-oss/drop:latest restart: unless-stopped depends_on: postgres: condition: service_healthy ports: - 3001:3000 volumes: - $MEDIADIR/games/pc:/library - $APPDATA/drop/data:/data environment: - DATABASE_URL=postgres://drop:drop@postgres:5432/drop - EXTERNAL_URL=http://192.168.1.106:3001 # default, customise if accessing from another computer or behind a reverse proxy