Skip to content

Commit

Permalink
refactor: cache service
Browse files Browse the repository at this point in the history
  • Loading branch information
BEdev24 authored Sep 11, 2024
1 parent 3623193 commit 7347e4b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,12 @@ services:
container_name: cache
restart: always
environment:
REDIS_ARGS: "--requirepass ${REDIS_PASSWORD} --user ${REDIS_USERNAME} on >${REDIS_PASSWORD} ~* allcommands --user default off nopass nocommands"
command: redis-server --requirepass ${REDIS_PASSWORD}
- REDIS_USERNAME=${REDIS_USERNAME}
- REDIS_PASSWORD=${REDIS_PASSWORD}
command: >
redis-server --requirepass ${REDIS_PASSWORD}
--user ${REDIS_USERNAME} on >${REDIS_PASSWORD} ~* +@all
--user default off
ports:
- "6379:6379"
volumes:
Expand Down

0 comments on commit 7347e4b

Please sign in to comment.