Add templates for mariadb, postgres, and valkey

This commit is contained in:
2025-07-20 16:13:24 +05:30
parent c28e4a7ddf
commit cbd57bf338
3 changed files with 56 additions and 0 deletions

16
.templates/valkey.yml Normal file
View File

@@ -0,0 +1,16 @@
services:
valkey:
container_name: valkey
image: docker.io/valkey/valkey:8.1.3
restart: unless-stopped
command: valkey-server --save 60 1 --requirepass ${VALKEY_PASSWORD}
volumes:
- ${APPDATA_PATH}//valkey:/data
ports:
- ${VALKEY_PORT}:6379
healthcheck:
test: ["CMD-SHELL", "echo 'auth ${VALKEY_PASSWORD}\nping' | valkey-cli | grep PONG"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s