Skip to content

Commit

Permalink
redis prelast
Browse files Browse the repository at this point in the history
  • Loading branch information
TimofeyTst committed Oct 8, 2023
1 parent e65d4b2 commit a6a261b
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@ services:
image: redis:6.2-alpine
hostname: redis
container_name: redis
# environment:
# - REDIS_PASSWORD=${REDIS_PASSWORD}
env_file:
- .prod.env
# command: /bin/sh -c "redis-server --requirepass ${REDIS_PASSWORD}"
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 a6a261b

Please sign in to comment.