mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 08:54:27 +01:00
add env 'DOCKER_VOLUME_STORAGE' for volume path customization
This commit is contained in:
@@ -13,7 +13,7 @@ services:
|
||||
image: gitea/gitea:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /mnt/docker-volumes/gitea/data:/data
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gitea/data:/data
|
||||
#labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.http.routers.gitea.rule=Host(`git.example.com`)
|
||||
|
||||
Reference in New Issue
Block a user