healthcheck, logging and ulimit adjustment

This commit is contained in:
Simon
2025-12-05 09:11:59 +00:00
parent 7124b388fa
commit b986faa1d4

View File

@@ -23,7 +23,21 @@ services:
ports: ports:
- 80:18080 - 80:18080
- 6901:6901 # vnc port to access burpsuite - 6901:6901 # vnc port to access burpsuite
- 8081:8080 # burpsuite port of http proxy - 8081:8080 # burpsuite port of http(s) proxy
logging:
driver: "json-file"
options:
max-size: "10m" # Maximum size of each log file (e.g., 10MB)
max-file: "3" # Maximum number of log files to keep
healthcheck:
test: ["CMD-SHELL", "curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:18080/api/status | grep -q 200"]
interval: 30s
timeout: 5s
retries: 3
ulimits:
nofile:
soft: 65536
hard: 65536
flaresolverr: flaresolverr:
container_name: flaresolverr container_name: flaresolverr