try to fix portainer issue
This commit is contained in:
@@ -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/*
|
||||
|
||||
|
||||
@@ -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:
|
||||
Reference in New Issue
Block a user