feat: added environment variables to the redis server in docker-compose.yml
This commit is contained in:
parent
22b54827c0
commit
aab0226861
1 changed files with 3 additions and 1 deletions
|
@ -24,8 +24,10 @@ services:
|
|||
ports:
|
||||
- "6379:6379"
|
||||
command: redis-server --save 20 1 --loglevel warning
|
||||
environment:
|
||||
- REDIS_PASSWORD=temp-redis-password
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
- redis-data:/root/redis
|
||||
networks:
|
||||
- redis_network
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue