mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 17:04:27 +01:00
add env 'DOCKER_VOLUME_STORAGE' for volume path customization
This commit is contained in:
@@ -9,8 +9,8 @@ services:
|
||||
- 8080:8080 # MGMT WEB UI
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro # ro = read-only access to the docker.sock
|
||||
- /mnt/docker-volumes/traefik:/etc/traefik/ # put the provided traefik.yml and fileConfig.yml files at this location
|
||||
- /mnt/docker-volumes/traefik/logs:/logs
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/traefik:/etc/traefik/ # put the provided traefik.yml and fileConfig.yml files at this location
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/traefik/logs:/logs
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user