# Pull the published image (recommended). To build locally: docker compose up -d --build services: smart-garage: image: ghcr.io/flizzy27/smart-garage:latest container_name: smart-garage ports: - "3000:3000" volumes: - smart-garage-data:/data environment: - DATABASE_URL=file:/data/smart-garage.db - UPLOAD_DIR=/data/uploads - MAX_UPLOAD_SIZE_MB=${MAX_UPLOAD_SIZE_MB:-25} - MAX_IMAGE_SIZE_MB=${MAX_IMAGE_SIZE_MB:-10} - NODE_ENV=production healthcheck: test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:3000/api/health"] interval: 30s timeout: 10s retries: 3 start_period: 180s restart: unless-stopped volumes: smart-garage-data: