mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-12-30 02:38:29 +01:00
add env 'DOCKER_VOLUME_STORAGE' for volume path customization
This commit is contained in:
@@ -12,7 +12,7 @@ services:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
volumes:
|
||||
- /mnt/docker-volumes/uptimekuma:/app/data
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/uptimekuma:/app/data
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.uptimekuma.rule=Host(`uptimekuma.example.com`)
|
||||
|
||||
Reference in New Issue
Block a user