Update templates
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
container_name: 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
|
restart: unless-stopped
|
||||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -1,16 +1,19 @@
|
|||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
container_name: db
|
container_name: db
|
||||||
image: docker.io/library/postgres:17.5
|
image: docker.io/library/postgres:18.1@sha256:f42fe58fa146f29072559fcb855cc2e93e2c9ab08c1cbe7c5db4973d665e3d86
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${POSTGRES_USER}
|
- POSTGRES_USER=${POSTGRES_USER}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
- POSTGRES_DB=${POSTGRES_DB}
|
- POSTGRES_DB=${POSTGRES_DB}
|
||||||
|
- PGDATA=/var/lib/postgresql/18/docker
|
||||||
volumes:
|
volumes:
|
||||||
- ${APPDATA_PATH}//db:/var/lib/postgresql/data
|
- ${APPDATA_PATH}//db:/var/lib/postgresql
|
||||||
ports:
|
ports:
|
||||||
- ${DB_PORT}:5432
|
- ${DB_PORT}:5432
|
||||||
|
networks:
|
||||||
|
- backend
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
|
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
valkey:
|
valkey:
|
||||||
container_name: valkey
|
container_name: valkey
|
||||||
image: docker.io/valkey/valkey:8.1.3
|
image: ghcr.io/valkey-io/valkey:9.0.1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: valkey-server --save 60 1
|
command: valkey-server --save 60 1
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
valkey:
|
valkey:
|
||||||
container_name: valkey
|
container_name: valkey
|
||||||
image: docker.io/valkey/valkey:8.1.3
|
image: ghcr.io/valkey-io/valkey:9.0.1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: valkey-server --save 60 1 --requirepass ${VALKEY_PASSWORD}
|
command: valkey-server --save 60 1 --requirepass ${VALKEY_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user