version: '3' services: fasthttp-serverless: build: context: . dockerfile: Dockerfile ports: - "8080:8080" volumes: # Mount handlers directory for live reloading - ./handlers:/app/handlers # Mount static files directory for live reloading - ./static:/app/static # Mount config directory for live reloading - ./config:/app/config # Mount logs directory for persistence - ./logs:/app/logs restart: unless-stopped environment: - TZ=UTC healthcheck: test: ["CMD", "wget", "--spider", "-q", "http://localhost:8080/"] interval: 30s timeout: 10s retries: 3 start_period: 5s