removed entrypoint and bind volume to instead reference an environment variable
This commit is contained in:
@@ -103,14 +103,14 @@ services:
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- "redis-data:/data:z"
|
||||
- ~/.config/redis:/etc/redis:Z
|
||||
networks:
|
||||
- wg
|
||||
depends_on:
|
||||
- wgclient
|
||||
env_file:
|
||||
- ${HOME}/.all.env
|
||||
entrypoint: ["redis-server", "--save 60 1", "--loglevel warning", "/etc/redis/redis.conf"]
|
||||
environment:
|
||||
REDIS_ARGS: ${REDIS_PARAMS}
|
||||
labels:
|
||||
glance.name: Redis
|
||||
glance.id: redis
|
||||
|
||||
Reference in New Issue
Block a user