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