version: '3.8' services: krawl: build: context: . dockerfile: Dockerfile container_name: krawl-server ports: - "5000:5000" volumes: - ./wordlists.json:/app/wordlists.json:ro - ./config.yaml:/app/config.yaml:ro environment: - CONFIG_LOCATION=config.yaml restart: unless-stopped healthcheck: test: ["CMD", "python3", "-c", "import requests; requests.get('http://localhost:5000')"] interval: 30s timeout: 5s retries: 3 start_period: 10s