x-app-base: &app-base image: "code.wanderingbadger.dev/tliu93/2026-moving-helper:latest" build: context: . user: "1000:1000" environment: DATABASE_URL: ${DATABASE_URL:-sqlite:////app/data/app.db} volumes: - ${DATA_DIR:-./data}:/app/data services: migrate: <<: *app-base command: ["python", "-m", "app.migrate"] restart: "no" web: <<: *app-base container_name: moving-helper depends_on: migrate: condition: service_completed_successfully ports: - "127.0.0.1:${APP_PORT:-10000}:10000" restart: unless-stopped