try to fix portainer issue

This commit is contained in:
2025-06-02 21:55:38 +02:00
parent 44fd8433a1
commit 6b0012c423
2 changed files with 3 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ RUN apt-get update && apt-get install -y \
build-essential \
libpq-dev \
curl \
wget \
netcat-traditional \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -1,5 +1,3 @@
version: '3.8'
services:
web:
build: .
@@ -23,7 +21,7 @@ services:
condition: service_healthy
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/health"]
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5000/health"]
interval: 30s
timeout: 10s
retries: 3
@@ -88,6 +86,4 @@ services:
volumes:
postgres_data:
name: ${COMPOSE_PROJECT_NAME:-default}_postgres_data
uploads:
name: ${COMPOSE_PROJECT_NAME:-default}_uploads
uploads: