services: subnet-allocator: build: context: . dockerfile: Dockerfile container_name: subnet-allocator ports: - "${APP_PORT:-8080}:8080" volumes: - ./data:/app/data - ./exports:/app/exports - ./backups:/app/backups environment: - RUST_LOG=info - APP_BIND=0.0.0.0:8080 - DATABASE_URL=sqlite:/app/data/subnet-allocator.db - APP_TIMEZONE=Europe/Prague - APP_EXPORTS_DIR=/app/exports restart: unless-stopped healthcheck: test: ["CMD", "curl", "-fsS", "http://localhost:8080/healthz"] interval: 30s timeout: 5s start_period: 5s retries: 3