version: "3" services: api: restart: always build: . healthcheck: test: ["CMD", "wget", "--spider", "http://localhost:8000/healthcheck"] interval: 5s timeout: 10s retries: 5 env_file: .env volumes: - ./data:/app/data ports: - "127.0.0.1:60613:8000"