diff --git a/docker/compose/docker-compose.portainer.yml b/docker/compose/docker-compose.portainer.yml index acf3ec2ec..4e2306309 100644 --- a/docker/compose/docker-compose.portainer.yml +++ b/docker/compose/docker-compose.portainer.yml @@ -55,7 +55,7 @@ services: ports: - 8010:8000 healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8000"] + test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"] interval: 30s timeout: 10s retries: 5 diff --git a/docker/compose/docker-compose.postgres-tika.yml b/docker/compose/docker-compose.postgres-tika.yml index d8f93fb79..356e8161a 100644 --- a/docker/compose/docker-compose.postgres-tika.yml +++ b/docker/compose/docker-compose.postgres-tika.yml @@ -59,7 +59,7 @@ services: ports: - 8000:8000 healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8000"] + test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"] interval: 30s timeout: 10s retries: 5 diff --git a/docker/compose/docker-compose.postgres.yml b/docker/compose/docker-compose.postgres.yml index 7ad8a32d6..f6b3311cd 100644 --- a/docker/compose/docker-compose.postgres.yml +++ b/docker/compose/docker-compose.postgres.yml @@ -53,7 +53,7 @@ services: ports: - 8000:8000 healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8000"] + test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"] interval: 30s timeout: 10s retries: 5 diff --git a/docker/compose/docker-compose.sqlite-tika.yml b/docker/compose/docker-compose.sqlite-tika.yml index a898527da..d025caacc 100644 --- a/docker/compose/docker-compose.sqlite-tika.yml +++ b/docker/compose/docker-compose.sqlite-tika.yml @@ -48,7 +48,7 @@ services: ports: - 8000:8000 healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8000"] + test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"] interval: 30s timeout: 10s retries: 5 diff --git a/docker/compose/docker-compose.sqlite.yml b/docker/compose/docker-compose.sqlite.yml index ea458fed0..9bab0cee9 100644 --- a/docker/compose/docker-compose.sqlite.yml +++ b/docker/compose/docker-compose.sqlite.yml @@ -39,7 +39,7 @@ services: ports: - 8000:8000 healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8000"] + test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"] interval: 30s timeout: 10s retries: 5