services: app: build: . image: pentest-companion:latest container_name: pentest-companion restart: unless-stopped ports: - "${HOST_PORT:-5000}:5000" env_file: - .env environment: DATABASE_PATH: /data/pentest.db UPLOAD_FOLDER: /data/uploads volumes: - pentest_data:/data healthcheck: test: ["CMD", "curl", "-fsS", "http://localhost:5000/health"] interval: 30s timeout: 5s retries: 3 volumes: pentest_data: