From 7dfef40166d53a220784bf12161e6ac86074fdbe Mon Sep 17 00:00:00 2001 From: Pandoks_ <35944715+Pandoks@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:49:19 -0800 Subject: [PATCH] Got password into redis deploy --- config/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/deploy.yml b/config/deploy.yml index 41f18fce..a690568d 100644 --- a/config/deploy.yml +++ b/config/deploy.yml @@ -86,6 +86,9 @@ accessories: port: 6379 roles: - web - cmd: "redis-server --requirepass password" + env: + secret: + - REDIS_PASSWORD + cmd: "/bin/sh -c 'redis-server --requirepass $REDIS_PASSWORD'" directories: - redis-data:/data