Skip to content

Commit

Permalink
Got password into redis deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandoks committed Dec 5, 2024
1 parent f3cd0c3 commit 7dfef40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7dfef40

Please sign in to comment.