From 659ccc662a7a8425dfa4b5df000144cfe082cb98 Mon Sep 17 00:00:00 2001 From: ryuupendragon Date: Fri, 6 Feb 2026 22:52:18 +0530 Subject: [PATCH] Update templates --- .templates/mariadb.yml | 2 +- .templates/postgres.yml | 7 +++++-- .templates/valkey-without-pswd.yml | 2 +- .templates/valkey.yml | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.templates/mariadb.yml b/.templates/mariadb.yml index 5b2c226..4e41297 100644 --- a/.templates/mariadb.yml +++ b/.templates/mariadb.yml @@ -1,7 +1,7 @@ services: db: container_name: db - image: docker.io/library/mariadb:11.8.2 + image: docker.io/library/mariadb:12.1.2@sha256:f54db0cb3ccfe9431aba6d08c65a1763c499789b116b4cb651dd7fcf325965b3 restart: unless-stopped command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed environment: diff --git a/.templates/postgres.yml b/.templates/postgres.yml index a343ab1..c82a666 100644 --- a/.templates/postgres.yml +++ b/.templates/postgres.yml @@ -1,16 +1,19 @@ services: db: container_name: db - image: docker.io/library/postgres:17.5 + image: docker.io/library/postgres:18.1@sha256:f42fe58fa146f29072559fcb855cc2e93e2c9ab08c1cbe7c5db4973d665e3d86 restart: unless-stopped environment: - POSTGRES_USER=${POSTGRES_USER} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - POSTGRES_DB=${POSTGRES_DB} + - PGDATA=/var/lib/postgresql/18/docker volumes: - - ${APPDATA_PATH}//db:/var/lib/postgresql/data + - ${APPDATA_PATH}//db:/var/lib/postgresql ports: - ${DB_PORT}:5432 + networks: + - backend healthcheck: test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"] interval: 10s diff --git a/.templates/valkey-without-pswd.yml b/.templates/valkey-without-pswd.yml index db7865f..97d95a1 100644 --- a/.templates/valkey-without-pswd.yml +++ b/.templates/valkey-without-pswd.yml @@ -1,7 +1,7 @@ services: valkey: container_name: valkey - image: docker.io/valkey/valkey:8.1.3 + image: ghcr.io/valkey-io/valkey:9.0.1 restart: unless-stopped command: valkey-server --save 60 1 volumes: diff --git a/.templates/valkey.yml b/.templates/valkey.yml index f1131de..390cad6 100644 --- a/.templates/valkey.yml +++ b/.templates/valkey.yml @@ -1,7 +1,7 @@ services: valkey: container_name: valkey - image: docker.io/valkey/valkey:8.1.3 + image: ghcr.io/valkey-io/valkey:9.0.1 restart: unless-stopped command: valkey-server --save 60 1 --requirepass ${VALKEY_PASSWORD} volumes: