Include Postgres 17 container

This commit is contained in:
Akumatic 2025-01-31 21:41:13 +01:00
parent 4d950b4be0
commit 63f9cd10d1

View File

@ -5,7 +5,8 @@ services:
image: requarks/wiki:2
container_name: wikijs
depends_on:
- db
- db_tmp
- db_17
restart: unless-stopped
#ports:
# - "3000:3000" # http
@ -22,9 +23,9 @@ services:
secrets:
- db_pass
db:
image: postgres:11-alpine
container_name: wikijs_db
db_17:
image: postgres:17
container_name: wikijs_db_pg17
restart: unless-stopped
healthcheck:
test: [ "CMD-SHELL", "pg_isready -d $$POSTGRES_DB -U $$POSTGRES_USER" ]
@ -33,7 +34,7 @@ services:
retries: 5
timeout: 5s
volumes:
- db:/var/lib/postgresql/data
- db_17:/var/lib/postgresql/data
networks:
- internal
environment:
@ -65,8 +66,8 @@ services:
- db_pass
volumes:
db:
name: wiki-js_db-data
db_17:
name: wikijs_db_pg17
db_tmp:
name: wikijs_db_tmp