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:
|
ports:
|
||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
command: redis-server --save 20 1 --loglevel warning
|
command: redis-server --save 20 1 --loglevel warning
|
||||||
|
environment:
|
||||||
|
- REDIS_PASSWORD=temp-redis-password
|
||||||
volumes:
|
volumes:
|
||||||
- redis-data:/data
|
- redis-data:/root/redis
|
||||||
networks:
|
networks:
|
||||||
- redis_network
|
- redis_network
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue