diff --git a/.templates/valkey-without-pswd.yml b/.templates/valkey-without-pswd.yml new file mode 100644 index 0000000..db7865f --- /dev/null +++ b/.templates/valkey-without-pswd.yml @@ -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 + 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