diff --git a/file_browser/docker-compose.yml b/file_browser/docker-compose.yml index c77b4de..d6f563c 100644 --- a/file_browser/docker-compose.yml +++ b/file_browser/docker-compose.yml @@ -4,10 +4,15 @@ services: filebrowser: image: filebrowser/filebrowser:s6 # user: "1000:1000" - ports: - - 8081:8081 +# ports: +# - 8081:8081 +# healthcheck: +# test: curl -f http://localhost:8081/ || exit 1 healthcheck: - test: curl -f http://localhost:8188/ || exit 1 + test: ["CMD", "curl", "-f", "http://localhost:8081/health"] + interval: 30s + timeout: 20s + retries: 3 security_opt: - no-new-privileges:true volumes: