Skip to content

Commit

Permalink
redis last
Browse files Browse the repository at this point in the history
  • Loading branch information
TimofeyTst committed Oct 8, 2023
1 parent a6a261b commit 996b379
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ services:
container_name: redis
env_file:
- .prod.env
command: /bin/sh -c "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}"
command:
- /bin/sh
- -c
- redis-server --requirepass "$${REDIS_PASSWORD:?REDIS_PASSWORD variable is not set}"
ports:
- 6379:6379

Expand Down

0 comments on commit 996b379

Please sign in to comment.