feat: add more
This commit is contained in:
@@ -25,9 +25,14 @@ services:
|
||||
environment:
|
||||
- SKIP_FIX_PERMS=${SKIP_FIX_PERMS:-}
|
||||
command:
|
||||
- redis-server
|
||||
- --requirepass
|
||||
- ${REDIS_PASSWORD:-}
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
if [ -n "$${REDIS_PASSWORD}" ]; then
|
||||
redis-server --requirepass "$${REDIS_PASSWORD}"
|
||||
else
|
||||
redis-server
|
||||
fi
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
|
||||
Reference in New Issue
Block a user