diff --git a/docker-compose.yml b/docker-compose.yml index 82f1c13..a81a2e3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,21 @@ services: ports: - 80:18080 - 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: container_name: flaresolverr