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:
@@ -17,7 +17,7 @@ services:
|
||||
- 51821:51821/tcp #WEBGUI
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /mnt/docker-volumes/wg-easy:/etc/wireguard
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wg-easy:/etc/wireguard
|
||||
# labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.http.routers.wireguard.rule=Host(`vpn.example.com`)
|
||||
|
||||
Reference in New Issue
Block a user