Update docker-compose.yml

This commit is contained in:
LRVT
2026-02-17 17:32:27 +01:00
committed by GitHub
parent f11a752e7e
commit b9295f937c

View File

@@ -26,7 +26,7 @@ services:
# - traefik.http.routers.docuseal.middlewares=local-ipwhitelist@file,authelia@docker # - traefik.http.routers.docuseal.middlewares=local-ipwhitelist@file,authelia@docker
postgres: postgres:
image: postgres:16-alpine image: postgres:18-alpine
container_name: docuseal-db container_name: docuseal-db
restart: unless-stopped restart: unless-stopped
environment: environment:
@@ -34,7 +34,7 @@ services:
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
- POSTGRES_DB=docuseal - POSTGRES_DB=docuseal
volumes: volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/docuseal/pg_data:/var/lib/postgresql/data - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/docuseal/pg_data:/var/lib/postgresql
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s interval: 5s