Files
docker-compose/.templates/valkey-without-pswd.yaml

17 lines
398 B
YAML

services:
valkey:
container_name: valkey
image: ghcr.io/valkey-io/valkey:9.0.1
restart: unless-stopped
command: valkey-server --save 60 1
volumes:
- ${APPDATA_PATH}//valkey:/data
ports:
- ${VALKEY_PORT}:6379
healthcheck:
test: ["CMD-SHELL", valkey-cli ping | grep PONG"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s