add env 'DOCKER_VOLUME_STORAGE' for volume path customization

This commit is contained in:
L4RM4ND 2023-02-25 14:09:52 +01:00
parent 1d2ab5133b
commit ce70d88893
70 changed files with 167 additions and 168 deletions

View File

@ -13,7 +13,7 @@ services:
#- /etc/localtime:/etc/localtime:ro
#- /etc/timezone:/etc/timezone:ro
#- /var/run/docker.sock:/var/run/docker.sock:ro
- /mnt/docker-volumes/example:/opt/example/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/example:/opt/example/data
environment:
- PUID=1000
- PGID=1000

View File

@ -18,4 +18,4 @@ services:
- PGID=1000
restart: unless-stopped
volumes:
- /mnt/docker-volumes/adguard-home-sync:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/adguard-home-sync:/config

View File

@ -11,5 +11,5 @@ services:
- 53:53/udp
restart: unless-stopped
volumes:
- /mnt/docker-volumes/adguard-home/work:/opt/adguardhome/work
- /mnt/docker-volumes/adguard-home/conf:/opt/adguardhome/conf
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/adguard-home/work:/opt/adguardhome/work
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/adguard-home/conf:/opt/adguardhome/conf

View File

@ -7,4 +7,4 @@ services:
- '9080:80'
restart: unless-stopped
volumes:
- /mnt/docker-volumes/answer/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/answer/data:/data

View File

@ -13,7 +13,7 @@ services:
ports:
- "8888:8080"
volumes:
- /mnt/docker-volumes/bitwarden-unified/data:/etc/bitwarden
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/data:/etc/bitwarden
db:
environment:
@ -25,4 +25,4 @@ services:
container_name: bitwarden_unified_db
restart: always
volumes:
- /mnt/docker-volumes/bitwarden-unified/mariadb:/var/lib/mysql
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/mariadb:/var/lib/mysql

View File

@ -14,7 +14,7 @@ services:
- DB_PASS=USERPW1
- DB_DATABASE=bookstackapp
volumes:
- /mnt/docker-volumes/bookstack/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bookstack/config:/config
restart: unless-stopped
ports:
- 8099:80
@ -34,5 +34,5 @@ services:
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=USERPW1
volumes:
- /mnt/docker-volumes/bookstack/mariadb-config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bookstack/mariadb-config:/config
restart: unless-stopped

View File

@ -10,6 +10,6 @@ services:
- "80:80"
- "443:443"
volumes:
- /mnt/docker-volumes/caddy/CaddyFile:/etc/caddy/Caddyfile
- /mnt/docker-volumes/caddy/data:/data
- /mnt/docker-volumes/caddy/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/caddy/CaddyFile:/etc/caddy/Caddyfile
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/caddy/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/caddy/config:/config

View File

@ -8,7 +8,7 @@ services:
- PGID=1000
- TZ=Europe/Berlin
volumes:
- /mnt/docker-volumes/changedetection/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/changedetection/config:/config
ports:
- 5000:5000
restart: unless-stopped

View File

@ -14,7 +14,7 @@ services:
- PROXY_DOMAIN=vscode.example.com #optional
- DEFAULT_WORKSPACE=/config/workspace #optional
volumes:
- /mnt/docker-volumes/vscode/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/vscode/config:/config
ports:
- 8443:8443
restart: unless-stopped

View File

@ -6,8 +6,8 @@ services:
hostname: dashy
image: lissy93/dashy
volumes:
- /mnt/docker-volumes/dashy/config/config.yml:/app/public/conf.yml
- /mnt/docker-volumes/dashy/icons:/app/public/item-icons
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/dashy/config/config.yml:/app/public/conf.yml
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/dashy/icons:/app/public/item-icons
environment:
- NODE_ENV=production
- UID=1000

View File

@ -10,5 +10,5 @@ services:
image: registry.gitlab.com/bockiii/deemix-docker:latest
restart: unless-stopped
volumes:
- /mnt/docker-volumes/deemix/config:/config
- /mnt/docker-volumes/deemix/downloads:/downloads
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/deemix/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/deemix/downloads:/downloads

View File

@ -17,7 +17,7 @@ services:
- DOMAINMOD_USER=domainmod
- DOMAINMOD_PASSWORD=password1
volumes:
- /mnt/docker-volumes/domainmod/app:/var/www/html
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/domainmod/app:/var/www/html
ports:
- 8080:80
restart: unless-stopped
@ -34,7 +34,7 @@ services:
- MYSQL_PASSWORD=password1
- MYSQL_ROOT_PASSWORD=password2
volumes:
- /mnt/docker-volumes/domainmod/database:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/domainmod/database:/config
#ports:
# - 3306
restart: unless-stopped

View File

@ -8,7 +8,7 @@ services:
dns:
- 192.168.178.100 # specify your internal dns server for proper dns lookups; especially if you are using https and hostnames
volumes:
- /mnt/docker-volumes/drone/data:/var/lib/drone
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/drone/data:/var/lib/drone
#- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- DRONE_DEBUG=true

View File

@ -7,7 +7,7 @@ services:
ports:
- 8989:8989
volumes:
- /mnt/docker-volumes/droppy/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/droppy/config:/config
- /path/to/my/data/for/sharing:/files # path to shared files
environment:
- UID=1000

View File

@ -14,8 +14,8 @@ services:
ports:
- "3875:3875/tcp"
volumes:
- /mnt/docker-volumes/duplicacy-web/config:/config
- /mnt/docker-volumes/duplicacy-web/logs:/logs
- /mnt/docker-volumes/duplicacy-web/cache:/cache
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicacy-web/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicacy-web/logs:/logs
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicacy-web/cache:/cache
- /path/to/my/data/dir1:/data/dir1:ro # 1st path to your data for backup
- /path/to/my/data/dir2:/data/dir2:ro # 2nd path to your data for backup

View File

@ -23,6 +23,6 @@ services:
# - traefik.http.routers.duplicati.middlewares=local-ipwhitelist@file
restart: unless-stopped
volumes:
- /mnt/docker-volumes/duplicati/backups:/backups
- /mnt/docker-volumes/duplicati/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicati/backups:/backups
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicati/config:/config
- /path/to/my/data/to/backup:/source # change this

View File

@ -13,6 +13,6 @@ services:
network_mode: host
restart: unless-stopped
volumes:
- /mnt/docker-volumes/fail2Ban/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/fail2Ban/data:/data
- /path/to/my/logs/to/monitor:/var/log
#- /mnt/docker-volumes/traefik/logs:/var/log/traefik
#- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/traefik/logs:/var/log/traefik

View File

@ -6,7 +6,7 @@ services:
container_name: firefly
restart: unless-stopped
volumes:
- /mnt/docker-volumes/firefly/upload:/var/www/html/storage/upload
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/firefly/upload:/var/www/html/storage/upload
env_file: .env
ports:
- 80:8080
@ -23,4 +23,4 @@ services:
- MYSQL_PASSWORD=MySecretDatabasePassword # if changed --> also update in .env file
- MYSQL_DATABASE=firefly
volumes:
- /mnt/docker-volumes/firefly/mysql:/var/lib/mysql
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/firefly/mysql:/var/lib/mysql

View File

@ -5,7 +5,7 @@ services:
image: pawelmalak/flame
container_name: flame
volumes:
- /mnt/docker-volumes/flame:/app/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/flame:/app/data
#- /var/run/docker.sock:/var/run/docker.sock # optional but required for Docker integration
ports:
- 5005:5005

View File

@ -8,7 +8,7 @@ services:
ports:
- 8080:2368
volumes:
- /mnt/docker-volumes/ghost/content:/var/lib/ghost/content
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ghost/content:/var/lib/ghost/content
environment:
# see https://ghost.org/docs/config/#configuration-options
database__client: mysql
@ -37,5 +37,5 @@ services:
- MYSQL_USER=ghost_dbuser
- MYSQL_PASSWORD=SecureDatabasePassword
volumes:
- /mnt/docker-volumes/ghost/mariadb/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ghost/mariadb/config:/config
restart: unless-stopped

View File

@ -8,7 +8,7 @@ services:
ports:
- 8080:2368
volumes:
- /mnt/docker-volumes/ghost/content:/var/lib/ghost/content
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ghost/content:/var/lib/ghost/content
environment:
# see https://ghost.org/docs/config/#configuration-options
database__client: mysql
@ -37,7 +37,7 @@ services:
container_name: ghost_db
restart: always
volumes:
- /mnt/docker-volumes/ghost/mysql:/var/lib/mysql
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ghost/mysql:/var/lib/mysql
#ports:
# - "13928:3306"
environment:

View File

@ -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`)

View File

@ -12,9 +12,9 @@ services:
- 8434:443 # HTTPS
- 2222:22 # SSH
volumes:
- /mnt/docker-volumes/gitlab/config:/etc/gitlab
- /mnt/docker-volumes/gitlab/logs:/var/log/gitlab
- /mnt/docker-volumes/gitlab/data:/var/opt/gitlab
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gitlab/config:/etc/gitlab
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gitlab/logs:/var/log/gitlab
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gitlab/data:/var/opt/gitlab
gitlab-runner:
image: gitlab/gitlab-runner:alpine
@ -24,4 +24,4 @@ services:
- gitlab-ce
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /mnt/docker-volumes/gitlab/runner:/etc/gitlab-runner
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gitlab/runner:/etc/gitlab-runner

View File

@ -8,5 +8,5 @@ services:
ports:
- 53842:53842
volumes:
- /mnt/docker-volumes/gokapi/data:/app/data
- /mnt/docker-volumes/gokapi/config:/app/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gokapi/data:/app/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gokapi/config:/app/config

View File

@ -25,7 +25,7 @@ services:
volumes:
- /var/log:/var/log:ro # let promtail access the docker host's log files
- ./volume-data/promtail:/etc/promtail # place promtail-config.yml
#- /mnt/docker-volumes/traefik/logs:/var/log/traefik # let promtail access your traefik reverse logs
#- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/traefik/logs:/var/log/traefik # let promtail access your traefik reverse logs
restart: unless-stopped
command: -config.file=/etc/promtail/promtail-config.yml
#networks:

View File

@ -3,9 +3,9 @@ services:
gvm:
image: securecompliance/gvm
volumes:
- /mnt/docker-volumes/greenbone/database:/opt/database
- /mnt/docker-volumes/greenbone/gvm:/var/lib/gvm
- /mnt/docker-volumes/greenbone/plugins:/var/lib/openvas/plugins
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/greenbone/database:/opt/database
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/greenbone/gvm:/var/lib/gvm
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/greenbone/plugins:/var/lib/openvas/plugins
environment:
- USERNAME="admin"
- PASSWORD="admin"

View File

@ -13,4 +13,4 @@ services:
image: linuxserver/heimdall:latest
restart: unless-stopped
volumes:
- /mnt/docker-volumes/heimdall:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/heimdall:/config

View File

@ -5,7 +5,7 @@ services:
hostname: hemmelig
init: true
volumes:
- /mnt/docker-volumes/hemmelig/files:/var/tmp/hemmelig/upload/files
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/hemmelig/files:/var/tmp/hemmelig/upload/files
environment:
- SECRET_REDIS_HOST=hemmelig-redis # Override this for your redis host address
- SECRET_LOCAL_HOSTNAME=0.0.0.0 # The local hostname for the fastify instance
@ -42,7 +42,7 @@ services:
init: true
# Enable to make redis data persistent
volumes:
- /mnt/docker-volumes/hemmelig/redis/:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/hemmelig/redis/:/data
command: redis-server --appendonly yes
restart: always
stop_grace_period: 1m

View File

@ -8,7 +8,7 @@ services:
- PASSWORD=MySecureLoginPassword
- TZ="Europe/Berlin"
volumes:
- /mnt/docker-volumes/homarr/configs:/app/data/configs
#- /mnt/docker-volumes/homarr/icons:/app/public/icons # optional for custom icons
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homarr/configs:/app/data/configs
#- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homarr/icons:/app/public/icons # optional for custom icons
ports:
- '7575:7575'

View File

@ -10,7 +10,7 @@ services:
- PGID=1000
- TZ=Europe/Berlin
volumes:
- /mnt/docker-volumes/homeassistant/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homeassistant/config:/config
#ports:
# - 8123:8123 #optional
#devices:

View File

@ -10,8 +10,8 @@ services:
- PUID=1000
- PGID=1000
volumes:
- /mnt/docker-volumes/homepage/config:/app/config # Make sure your local config directory exists
- /mnt/docker-volumes/homepage/icons:/app/public/icons
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homepage/config:/app/config # Make sure your local config directory exists
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homepage/icons:/app/public/icons
# - /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations
#labels:
# - traefik.enable=true

View File

@ -5,7 +5,7 @@ services:
image: b4bz/homer:latest
container_name: homer
volumes:
- /mnt/docker-volumes/homer:/www/assets
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homer:/www/assets
restart: unless-stopped
environment:
- UID=1000

View File

@ -7,8 +7,8 @@ services:
ports:
- 8099:80
volumes:
- /mnt/docker-volumes/matomo/apache/apache2.conf:/etc/apache2/apache2.conf:ro
- /mnt/docker-volumes/matomo/html:/var/www/html
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/matomo/apache/apache2.conf:/etc/apache2/apache2.conf:ro
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/matomo/html:/var/www/html
environment:
- MATOMO_DATABASE_HOST=matomo_db
#- VIRTUAL_HOST=matomo.example.com
@ -38,4 +38,4 @@ services:
- ./db.env
restart: unless-stopped
volumes:
- /mnt/docker-volumes/matomo/database:/var/lib/mysql
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/matomo/database:/var/lib/mysql

View File

@ -13,8 +13,8 @@ services:
- 3000:3000 # WEB UI;
volumes:
- .env:/src/.env:ro
- /mnt/docker-volumes/mirotalk/app:/src/app:ro
- /mnt/docker-volumes/mirotalk/public:/src/public:ro
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mirotalk/app:/src/app:ro
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mirotalk/public:/src/public:ro
#labels:
#- traefik.enable=true
#- traefik.http.routers.mirotalk.rule=Host(`meet.example.com`) # pls adjust

View File

@ -7,6 +7,6 @@ services:
ports:
- 8000:8000
volumes:
- /mnt/docker-volumes/money-balancer/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/money-balancer/data:/data
environment:
- JWT_SECRET=ThisIsAVerySecretString # change this

View File

@ -13,7 +13,7 @@ services:
- MARIADB_PASSWORD
- MARIADB_MYSQL_LOCALHOST_USER=true
volumes:
- /mnt/docker-volumes/n8n/database:/var/lib/mysql
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/n8n/database:/var/lib/mysql
healthcheck:
test: "/usr/bin/mysql --user=${MARIADB_USER} --password=${MARIADB_PASSWORD} --execute 'SELECT 1;'"
interval: 10s
@ -36,7 +36,7 @@ services:
links:
- n8n-db
volumes:
- /mnt/docker-volumes/n8n/storage:/home/node/.n8n
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/n8n/storage:/home/node/.n8n
command: n8n start --tunnel
depends_on:
n8n-db:

View File

@ -9,7 +9,7 @@ services:
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- /mnt/docker-volumes/nextcloud/database:/var/lib/mysql
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/database:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=test #SQL root Passwort eingeben
- MYSQL_PASSWORD=nextcloud #SQL Benutzer Passwort eingeben
@ -44,8 +44,8 @@ services:
REDIS_HOST: nextcloud-redis
REDIS_HOST_PASSWORD: nextcloud # Redis Passwort von oben wieder eingeben
volumes:
- /mnt/docker-volumes/nextcloud/data:/var/www/html/data
- /mnt/docker-volumes/nextcloud/app:/var/www/html
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/data:/var/www/html/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/app:/var/www/html
#labels:
# - traefik.enable=true
# - traefik.http.routers.nextcloud.rule=(Host(`cloud.example.com`)) # pls change

View File

@ -9,8 +9,8 @@ services:
- PGID=1000
- TZ=Europe/Berlin
volumes:
- /mnt/docker-volumes/nextcloud/config:/config
- /mnt/docker-volumes/nextcloud/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/data:/data
ports:
- 9443:443
restart: unless-stopped

View File

@ -5,9 +5,9 @@ services:
image: nginx:latest
hostname: nginx
volumes:
- /mnt/docker-volumes/nginx/www-data:/var/www
- /mnt/docker-volumes/nginx/nginx-conf:/etc/nginx/conf.d
- /mnt/docker-volumes/nginx/logs:/var/log/nginx
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/www-data:/var/www
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/nginx-conf:/etc/nginx/conf.d
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/logs:/var/log/nginx
links:
- php
container_name: nginx
@ -23,7 +23,7 @@ services:
image: php:8-fpm-alpine
hostname: php
volumes:
- /mnt/docker-volumes/nginx/www-data:/var/www
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/www-data:/var/www
container_name: php
restart: unless-stopped
working_dir: /var/www

View File

@ -3,7 +3,7 @@ goaccess:
container_name: goaccess
restart: always
volumes:
- /mnt/docker-volumes/nginx-proxy-manager/data/logs:/opt/log:ro
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx-proxy-manager/data/logs:/opt/log:ro
environment:
- PUID=1000
- PGID=1000

View File

@ -20,8 +20,8 @@ services:
interval: 30s
timeout: 3s
volumes:
- /mnt/docker-volumes/nginx-proxy-manager/data:/data
- /mnt/docker-volumes/nginx-proxy-manager/letsencrypt:/etc/letsencrypt
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx-proxy-manager/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx-proxy-manager/letsencrypt:/etc/letsencrypt
networks:
npm_proxy:

View File

@ -9,8 +9,8 @@ services:
#- 27123:27123 # Local REST API Plugin HTTP Server Port
#- 27124:27124 # Local REST API Plugin HTTPS Server Port
volumes:
- /mnt/docker-volumes/obsidian-remote/vaults:/vaults # The location on the host for your Obsidian Vaults
- /mnt/docker-volumes/obsidian-remote/config:/config # The location to store Obsidan configuration and ssh data for obsidian-git
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/obsidian-remote/vaults:/vaults # The location on the host for your Obsidian Vaults
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/obsidian-remote/config:/config # The location to store Obsidan configuration and ssh data for obsidian-git
environment:
- PUID=1000
- PGID=1000

View File

@ -15,7 +15,7 @@ services:
- mongo
- redis
volumes:
- /mnt/docker-volumes/sharelatex/data:/var/lib/sharelatex
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sharelatex/data:/var/lib/sharelatex
########################################################################
#### Server Pro: Uncomment the following line to mount the docker ####
#### socket, required for Sibling Containers to work ####
@ -105,7 +105,7 @@ services:
expose:
- 27017
volumes:
- /mnt/docker-volumes/sharelatex/mongo:/data/db
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sharelatex/mongo:/data/db
healthcheck:
test: echo 'db.stats().ok' | mongo localhost:27017/test --quiet
interval: 10s
@ -119,4 +119,4 @@ services:
expose:
- 6379
volumes:
- /mnt/docker-volumes/sharelatex/redis:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sharelatex/redis:/data

View File

@ -1,4 +1,3 @@
---
version: "2.1"
services:
paperless-ngx:
@ -11,8 +10,8 @@ services:
#- PAPERLESS_URL=https://docs.example.com # uncomment and adjust if behind reverse proxy
#- REDIS_URL= #optional
volumes:
- /mnt/docker-volumes/paperless-ngx/config:/config
- /mnt/docker-volumes/paperless-ngx/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/paperless-ngx/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/paperless-ngx/data:/data
ports:
- 8000:8000
restart: unless-stopped

View File

@ -11,6 +11,6 @@ services:
image: linuxserver/papermerge:latest
restart: unless-stopped
volumes:
- /mnt/docker-volumes/papermerge/importer_dir:/mnt/media/importer_dir
- /mnt/docker-volumes/papermerge/config:/config
- /mnt/docker-volumes/papermerge/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/papermerge/importer_dir:/mnt/media/importer_dir
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/papermerge/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/papermerge/data:/data

View File

@ -18,4 +18,4 @@ services:
restart: unless-stopped
volumes:
- /path/to/my/locally/stored/media/files:/photoprism/originals
- /mnt/docker-volumes/photoprism/storage:/photoprism/storage
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/photoprism/storage:/photoprism/storage

View File

@ -16,8 +16,8 @@ services:
WEBPASSWORD: 'MySecureLoginPasswordForWebApp'
# Volumes store your data between container upgrades
volumes:
- '/mnt/docker-volumes/pihole/data:/etc/pihole'
- '/mnt/docker-volumes/pihole/dnsmasq:/etc/dnsmasq.d'
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/pihole/data:/etc/pihole
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/pihole/dnsmasq:/etc/dnsmasq.d
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed

View File

@ -11,7 +11,7 @@ services:
restart: always
container_name: plausible-db
volumes:
- /mnt/docker-volumes/plausible/database/:/var/lib/postgresql/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/plausible/database/:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
@ -20,9 +20,9 @@ services:
image: clickhouse/clickhouse-server:22.6-alpine
restart: always
volumes:
- /mnt/docker-volumes/plausible/event-data:/var/lib/clickhouse
- /mnt/docker-volumes/plausible/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
- /mnt/docker-volumes/plausible/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/plausible/event-data:/var/lib/clickhouse
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/plausible/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/plausible/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
ulimits:
nofile:
soft: 262144

View File

@ -9,10 +9,10 @@ services:
ports:
- 8080:8080
volumes:
- '/mnt/docker-volumes/privatebin/data:/srv/data' # volume for persisted data pastes
- '/mnt/docker-volumes/privatebin/configs/config.php:/srv/cfg/conf.php:ro' # volume for custom privatebin config
#- '/mnt/docker-volumes/privatebin/configs/nginx.conf:/etc/nginx/nginx.conf:ro' # custom nginx container config to increase file upload size
#- '/mnt/docker-volumes/privatebin/configs/php.ini:/etc/php81/conf.d/00-docker.ini:ro' # custom php container config to increase file upload size
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/privatebin/data:/srv/data # volume for persisted data pastes
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/privatebin/configs/config.php:/srv/cfg/conf.php:ro # volume for custom privatebin config
#- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/privatebin/configs/nginx.conf:/etc/nginx/nginx.conf:ro # custom nginx container config to increase file upload size
#- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/privatebin/configs/php.ini:/etc/php81/conf.d/00-docker.ini:ro # custom php container config to increase file upload size
restart: always
#labels:
# - traefik.enable=true

View File

@ -9,8 +9,8 @@ services:
- TZ=Europe/Berlin
- MAX_UPLOAD=5000
volumes:
- /mnt/docker-volumes/projectsend/config:/config
- /mnt/docker-volumes/projectsend/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/projectsend/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/projectsend/data:/data
ports:
- 8080:80 # WEB UI
restart: unless-stopped
@ -23,7 +23,7 @@ services:
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: unless-stopped
volumes:
- /mnt/docker-volumes/projectsend/database:/var/lib/mysql
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/projectsend/database:/var/lib/mysql
environment:
# the projectsend setup ui will ask for a database hostname; specify "database", as this is the container hostname
- MYSQL_DATABASE=projectsend # use this name during projectsend database setup

View File

@ -12,4 +12,4 @@ services:
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- /mnt/docker-volumes/pwndrop/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/pwndrop/config:/config

View File

@ -35,7 +35,7 @@ services:
image: docker.io/bitnami/mongodb:${MONGODB_VERSION:-4.4}
restart: unless-stopped
volumes:
- /mnt/docker-volumes/rocketchat/mongodb:/bitnami/mongodb
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/rocketchat/mongodb:/bitnami/mongodb
environment:
MONGODB_REPLICA_SET_MODE: primary
MONGODB_REPLICA_SET_NAME: ${MONGODB_REPLICA_SET_NAME:-rs0}

View File

@ -8,7 +8,7 @@ services:
- MYSQL_LOG_CONSOLE=true
restart: unless-stopped
volumes:
- /mnt/docker-volumes/seafile/db:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store.
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/seafile/db:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store.
memcached:
image: memcached:1.6
@ -24,7 +24,7 @@ services:
- "7780:80" # HTTP
- "7443:443" # HTTPS
volumes:
- /mnt/docker-volumes/seafile/data:/shared # Requested, specifies the path to Seafile data persistent store.
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/seafile/data:/shared # Requested, specifies the path to Seafile data persistent store.
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=db_dev # Requested, the value shuold be root's password of MySQL service.

View File

@ -22,7 +22,7 @@ services:
SFTPGO_COMMON_DEFENDER__THRESHOLD: 5
SFTPGO_COMMON_DEFENDER__OBSERVATION_TIME: 15
volumes:
- /mnt/docker-volumes/sftpgo/data:/srv/sftpgo
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sftpgo/data:/srv/sftpgo
mysql:
image: mysql:latest
restart: always
@ -32,4 +32,4 @@ services:
MYSQL_PASSWORD: sftpgo # please change
MYSQL_ROOT_PASSWORD: MySecureRootDatabasePassword
volumes:
- /mnt/docker-volumes/sftpgo/mysql:/var/lib/mysql
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sftpgo/mysql:/var/lib/mysql

View File

@ -15,7 +15,7 @@ services:
- MYSQL_PASSWORD=VeryStrongDatabasePassword
- TZ=Europe/Berlin
volumes:
- /mnt/docker-volumes/snipeit/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/snipeit/config:/config
ports:
- 8080:80
restart: unless-stopped
@ -32,5 +32,5 @@ services:
- MYSQL_USER=snipeit
- MYSQL_PASSWORD=VeryStrongDatabasePassword # change this
volumes:
- /mnt/docker-volumes/snipeit/mariadb:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/snipeit/mariadb:/config
restart: unless-stopped

View File

@ -11,9 +11,9 @@ services:
- sonar.jdbc.password=sonar
- sonar.search.javaAdditionalOpts=-Dbootstrap.system_call_filter=false
volumes:
- /mnt/docker-volumes/sonarqube/logs:/opt/sonarqube/logs
- /mnt/docker-volumes/sonarqube/data:/opt/sonarqube/data
- /mnt/docker-volumes/sonarqube/extensions:/opt/sonarqube/extensions
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sonarqube/logs:/opt/sonarqube/logs
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sonarqube/data:/opt/sonarqube/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sonarqube/extensions:/opt/sonarqube/extensions
db:
image: postgres:13.1

View File

@ -6,7 +6,7 @@ services:
ports:
- 8765:80
volumes:
- /mnt/docker-volumes/speedtest-tracker/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/speedtest-tracker/config:/config
environment:
- TZ=Europe/Berlin
- PGID=1000

View File

@ -27,15 +27,15 @@ services:
volumes:
- /etc/localtime:/etc/localtime:ro
## Keep configs, scrapers, and plugins here.
- /mnt/docker-volumes/stash/config:/root/.stash
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/stash/config:/root/.stash
## Point this at your collection.
- /mnt/docker-volumes/stash/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/stash/data:/data
## This is where your stash's metadata lives
- /mnt/docker-volumes/stash/metadata:/metadata
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/stash/metadata:/metadata
## Any other cache content.
- /mnt/docker-volumes/stash/cache:/cache
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/stash/cache:/cache
## Where to store generated content (screenshots,previews,transcodes,sprites)
- /mnt/docker-volumes/stash/generated:/generated
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/stash/generated:/generated
#labels:
# - traefik.enable=true
# - traefik.http.routers.stash.rule=Host(`stash.example.com`)

View File

@ -5,7 +5,7 @@ services:
container_name: tandoor_db
image: postgres:11-alpine
volumes:
- /mnt/docker-volumes/tandoor/postgresql:/var/lib/postgresql/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/tandoor/postgresql:/var/lib/postgresql/data
env_file:
- ./.env
@ -18,9 +18,9 @@ services:
env_file:
- ./.env
volumes:
- /mnt/docker-volumes/tandoor/staticfiles:/opt/recipes/staticfiles
- /mnt/docker-volumes/tandoor/nginx_config:/opt/recipes/nginx/conf.d
- /mnt/docker-volumes/tandoor/mediafiles:/opt/recipes/mediafiles
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/tandoor/staticfiles:/opt/recipes/staticfiles
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/tandoor/nginx_config:/opt/recipes/nginx/conf.d
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/tandoor/mediafiles:/opt/recipes/mediafiles
depends_on:
- db_recipes
labels:

View File

@ -31,7 +31,7 @@ services:
# - DNS_SERVER_FORWARDERS=1.1.1.1, 8.8.8.8 #Comma separated list of forwarder addresses.
# - DNS_SERVER_FORWARDER_PROTOCOL=Tcp #Forwarder protocol options: Udp, Tcp, Tls, Https, HttpsJson.
volumes:
- /mnt/docker-volumes/technitium/config:/etc/dns/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/technitium/config:/etc/dns/config
restart: unless-stopped
labels:
- traefik.enable=true

View File

@ -11,4 +11,4 @@ services:
#- KEEP_APP_RUNNING=0 # default; optional
- TZ=Europe/Berlin
#volumes:
# - /mnt/docker-volumes/torbrowser/data:/app/Browser/TorBrowser/Data/Tor # optional, just to speed up container recreation
# - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/torbrowser/data:/app/Browser/TorBrowser/Data/Tor # optional, just to speed up container recreation

View File

@ -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:

View File

@ -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`)

View File

@ -37,8 +37,8 @@ services:
# - traefik.http.services.vaultwarden-ws.loadbalancer.server.port=3012
restart: unless-stopped
volumes:
- /mnt/docker-volumes/vaultwarden/data:/data
- /mnt/docker-volumes/vaultwarden/logs:/data/logs
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/vaultwarden/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/vaultwarden/logs:/data/logs
# this service will backup your vaultwarden instance corretly
# see https://github.com/Bruceforce/vaultwarden-backup for more information
@ -53,8 +53,8 @@ services:
#labels:
# com.centurylinklabs.watchtower.monitor-only: true
volumes:
- /mnt/docker-volumes/vaultwarden/data:/data/
- /mnt/docker-volumes/vaultwarden/backup:/myBackup
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/vaultwarden/data:/data/
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/vaultwarden/backup:/myBackup
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
environment:

View File

@ -6,7 +6,7 @@ services:
network_mode: "host"
restart: unless-stopped
volumes:
- /mnt/docker-volumes/watchyourlan:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/watchyourlan:/data
environment:
TZ: Europe/Berlin # required: needs your TZ for correct time
IFACE: "ens18" # required: 1 or more interface

View File

@ -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`)

View File

@ -12,8 +12,8 @@ services:
ports:
- 3000:3000 # WEB UI
volumes:
- /mnt/docker-volumes/wikijs/config:/config
- /mnt/docker-volumes/wikijs/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wikijs/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wikijs/data:/data
links:
- db
@ -26,4 +26,4 @@ services:
image: postgres:13.4-bullseye
restart: unless-stopped
volumes:
- /mnt/docker-volumes/wikijs/database:/var/lib/postgresql/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wikijs/database:/var/lib/postgresql/data

View File

@ -1,27 +1,27 @@
version: '3.7'
version: '3.7'
services:
  wireguard:
    image: linuxserver/wireguard
    container_name: wireguard
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
      - SERVERURL=vpn.example.com #optional
      - SERVERPORT=51820 #optional
      - PEERS=1 #optional
      - PEERDNS=auto #optional
      - INTERNAL_SUBNET=10.13.13.0 #optional
      - ALLOWEDIPS=0.0.0.0/0 #optional
    volumes:
      - /mnt/docker-volumes/wireguard/config:/config
      - /usr/src:/usr/src # location of kernel headers
      - /lib/modules:/lib/modules
    ports:
      - 51820:51820/udp
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
    restart: unless-stopped
wireguard:
image: linuxserver/wireguard
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- SERVERURL=vpn.example.com #optional
- SERVERPORT=51820 #optional
- PEERS=1 #optional
- PEERDNS=auto #optional
- INTERNAL_SUBNET=10.13.13.0 #optional
- ALLOWEDIPS=0.0.0.0/0 #optional
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wireguard/config:/config
- /usr/src:/usr/src # location of kernel headers
- /lib/modules:/lib/modules
ports:
- 51820:51820/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped

View File

@ -9,7 +9,7 @@ services:
#networks:
# - proxy
volumes:
- /mnt/docker-volumes/wordpress/mysql:/var/lib/mysql
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wordpress/mysql:/var/lib/mysql
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=wordpressroot
@ -22,7 +22,7 @@ services:
container_name: wordpress
hostname: wordpress
volumes:
- /mnt/docker-volumes/wordpress/data:/var/www/html
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wordpress/data:/var/www/html
ports:
- 80:80
#networks:

View File

@ -10,10 +10,10 @@ services:
ports:
- 8080:8080 # web ui
volumes:
- /mnt/docker-volumes/youtrack/data:/opt/youtrack/data
- /mnt/docker-volumes/youtrack/conf:/opt/youtrack/conf
- /mnt/docker-volumes/youtrack/logs:/opt/youtrack/logs
- /mnt/docker-volumes/youtrack/backups:/opt/youtrack/backups
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/youtrack/data:/opt/youtrack/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/youtrack/conf:/opt/youtrack/conf
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/youtrack/logs:/opt/youtrack/logs
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/youtrack/backups:/opt/youtrack/backups
deploy:
placement:
constraints: