Skip to content

Commit

Permalink
redis 7
Browse files Browse the repository at this point in the history
  • Loading branch information
TimofeyTst committed Oct 8, 2023
1 parent db6d50b commit 9af903d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ services:
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD}
# command: /bin/sh -c "redis-server --requirepass ${REDIS_PASSWORD}"
command: redis-server --requirepass $REDIS_PASSWORD
# command: redis-server --requirepass $REDIS_PASSWORD
command:
- /bin/sh
- -c
- redis-server --requirepass "$${REDIS_PASSWORD:?REDIS_PASSWORD variable is not set}"
ports:
- 6379:6379

Expand Down

0 comments on commit 9af903d

Please sign in to comment.