diff --git a/firefoxsync/docker-compose.yaml b/firefoxsync/docker-compose.yaml index 6cd5b0d..3f3e17b 100644 --- a/firefoxsync/docker-compose.yaml +++ b/firefoxsync/docker-compose.yaml @@ -10,7 +10,7 @@ services: - firefoxsync labels: - "traefik.enable=true" - - "traefik.http.routers.ffs.rule=Host(`firefoxsync.${DOMAIN}`)" + - "traefik.http.routers.ffs.rule=Host(`${FQDN_FIREFOXSYNC}`)" - "traefik.http.routers.ffs.entrypoints=websecure" - "traefik.http.routers.ffs.tls.certresolver=netcup" - "traefik.http.routers.ffs.tls.options=intermediate@file" @@ -18,7 +18,7 @@ services: - "docker.group=firefoxsync" restart: unless-stopped environment: - - SYNCSERVER_PUBLIC_URL=https://firefoxsync.${DOMAIN} + - SYNCSERVER_PUBLIC_URL=https://${FQDN_FIREFOXSYNC} - SYNCSERVER_SECRET=&{SECRET} - SYNCSERVER_SQLURI=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/${POSTGRES_DB} - SYNCSERVER_BATCH_UPLOAD_ENABLED=true diff --git a/git/docker-compose.yaml b/git/docker-compose.yaml index bc8589c..e81b4de 100644 --- a/git/docker-compose.yaml +++ b/git/docker-compose.yaml @@ -29,13 +29,13 @@ services: timeout: 3s labels: - "traefik.enable=true" - - "traefik.http.routers.forgejo.rule=Host(`gitea.${DOMAIN}`, `git.${DOMAIN}`)" + - "traefik.http.routers.forgejo.rule=Host(`${FQDN_GIT}`, `${FQDN_GIT_OLD}`)" - "traefik.http.routers.forgejo.entrypoints=websecure" - "traefik.http.routers.forgejo.tls.certresolver=netcup" - "traefik.http.routers.forgejo.tls.options=intermediate@file" - "traefik.http.routers.forgejo.middlewares=gitearedir" - - "traefik.http.middlewares.gitearedir.redirectregex.regex=^https://gitea.${DOMAIN}/(.*)" - - "traefik.http.middlewares.gitearedir.redirectregex.replacement=https://git.${DOMAIN}/$${1}" + - "traefik.http.middlewares.gitearedir.redirectregex.regex=^https://${FQDN_GIT_OLD}/(.*)" + - "traefik.http.middlewares.gitearedir.redirectregex.replacement=https://${FQDN_GIT}/$${1}" - "traefik.http.middlewares.gitearedir.redirectregex.permanent=true" - "traefik.http.services.forgejo.loadbalancer.server.port=3000" - "docker.group=git" diff --git a/news/docker-compose.yaml b/news/docker-compose.yaml index c2ae27b..a4d1011 100644 --- a/news/docker-compose.yaml +++ b/news/docker-compose.yaml @@ -15,14 +15,14 @@ services: - CREATE_ADMIN=1 - ADMIN_USERNAME=${ADMIN_USER} - ADMIN_PASSWORD=${ADMIN_PASSWORD} - - BASE_URL=https://news.${DOMAIN} + - BASE_URL=https://${FQDN_NEWS} - POLLING_FREQUENCY=15 # minutes # - LOG_LEVEL=debug healthcheck: test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"] labels: - "traefik.enable=true" - - "traefik.http.routers.news.rule=Host(`news.${DOMAIN}`)" + - "traefik.http.routers.news.rule=Host(`${FQDN_NEWS}`)" - "traefik.http.routers.news.entrypoints=websecure" - "traefik.http.routers.news.tls.certresolver=netcup" - "traefik.http.routers.news.tls.options=intermediate@file" diff --git a/nextcloud/docker-compose.yaml b/nextcloud/docker-compose.yaml index 8503667..4b58401 100644 --- a/nextcloud/docker-compose.yaml +++ b/nextcloud/docker-compose.yaml @@ -17,7 +17,7 @@ services: # timeout: 3s labels: - "traefik.enable=true" - - "traefik.http.routers.nextcloud.rule=Host(`cloud.${DOMAIN}`)" + - "traefik.http.routers.nextcloud.rule=Host(`${FQDN_NEXTCLOUD}`)" - "traefik.http.routers.nextcloud.entrypoints=websecure" - "traefik.http.routers.nextcloud.tls.certresolver=netcup" - "traefik.http.routers.nextcloud.tls.options=intermediate@file" @@ -46,7 +46,7 @@ services: networks: - nextcloud environment: - - NEXTCLOUD_TRUSTED_DOMAINS=${NEXTCLOUD_TRUSTED_DOMAINS} + - NEXTCLOUD_TRUSTED_TLDS=${FQDN_NEXTCLOUD} - MYSQL_HOST=db - MYSQL_PASSWORD=${MYSQL_PASSWORD} - MYSQL_DATABASE=${MYSQL_DATABASE} @@ -97,7 +97,7 @@ services: entrypoint: /var/www/html/custom_apps/notify_push/bin/x86_64/notify_push /var/www/html/config/config.php labels: - "traefik.enable=true" - - "traefik.http.routers.ncpush.rule=Host(`cloud.${DOMAIN}`) && PathPrefix(`/push`)" + - "traefik.http.routers.ncpush.rule=Host(`${FQDN_NEXTCLOUD}`) && PathPrefix(`/push`)" - "traefik.http.routers.ncpush.entrypoints=websecure" - "traefik.http.routers.ncpush.tls.certresolver=netcup" - "traefik.http.routers.ncpush.tls.options=intermediate@file" @@ -151,7 +151,7 @@ services: # - db # labels: # - "traefik.enable=true" -# - "traefik.http.routers.adminer.rule=Host(`adminer.${DOMAIN}`)" +# - "traefik.http.routers.adminer.rule=Host(`${FQDN_ADMINER}`)" # - "traefik.http.routers.adminer.entrypoints=websecure" # - "traefik.http.routers.adminer.tls.certresolver=netcup" # - "traefik.http.routers.adminer.tls.options=intermediate@file" @@ -189,14 +189,15 @@ services: expose: - 9980 environment: - - domain=cloud.${DOMAIN} + - domain=${FQDN_NEXTCLOUD} + - aliasgroup1=https://${FQDN_NEXTCLOUD} - username=${COLLABORA_ADMIN_USER} - password=${COLLABORA_ADMIN_PASSWORD} - "extra_params=--o:ssl.enable=false --o:ssl.termination=true" restart: unless-stopped labels: - "traefik.enable=true" - - "traefik.http.routers.collabora.rule=Host(`collabora.${DOMAIN}`)" + - "traefik.http.routers.collabora.rule=Host(`${FQDN_OFFICE}`)" - "traefik.http.routers.collabora.entrypoints=websecure" - "traefik.http.routers.collabora.tls.certresolver=netcup" - "traefik.http.routers.collabora.tls.options=intermediate@file" @@ -225,7 +226,7 @@ services: depends_on: - drawio-export environment: - - VIRTUAL_HOST=drawio.${DOMAIN} + - VIRTUAL_HOST=${FQDN_DRAWIO} - VIRTUAL_PORT=8080 - LETS_ENCRYPT_ENABLED=false - EXPORT_URL=http://drawio-export:8000/ @@ -238,7 +239,7 @@ services: start_period: 20s labels: - "traefik.enable=true" - - "traefik.http.routers.drawio.rule=Host(`drawio.${DOMAIN}`)" + - "traefik.http.routers.drawio.rule=Host(`${FQDN_DRAWIO}`)" - "traefik.http.routers.drawio.entrypoints=websecure" - "traefik.http.routers.drawio.tls.certresolver=netcup" - "traefik.http.routers.drawio.tls.options=intermediate@file" diff --git a/proxy/docker-compose.yaml b/proxy/docker-compose.yaml index e69c689..3293d31 100755 --- a/proxy/docker-compose.yaml +++ b/proxy/docker-compose.yaml @@ -49,7 +49,7 @@ services: timeout: 1s labels: - "traefik.enable=true" - - "traefik.http.routers.dashboard.rule=Host(`traefik.${DOMAIN}`)" + - "traefik.http.routers.dashboard.rule=Host(`${FQDN_TRAEFIK}`)" - "traefik.http.routers.dashboard.service=api@internal" - "traefik.http.routers.dashboard.entrypoints=websecure" - "traefik.http.routers.dashboard.tls.certresolver=netcup" @@ -88,7 +88,7 @@ services: # - web # labels: # - "traefik.enable=true" -# - "traefik.http.routers.whoami.rule=Host(`whoami.${DOMAIN}`)" +# - "traefik.http.routers.whoami.rule=Host(`${FQDN_WHOAMI}`)" # - "traefik.http.routers.whoami.entrypoints=websecure" # - "traefik.http.routers.whoami.tls.certresolver=netcup" # - "docker.group=proxy" diff --git a/push/docker-compose.yaml b/push/docker-compose.yaml index 0dfad7a..141144c 100644 --- a/push/docker-compose.yaml +++ b/push/docker-compose.yaml @@ -9,7 +9,7 @@ services: - serve environment: - TZ=UTC - - NTFY_BASE_URL=https://push.${DOMAIN} + - NTFY_BASE_URL=https://${FQDN_PUSH} - NTFY_LISTEN_HTTP=0.0.0.0:80 - NTFY_CACHE_FILE=/var/cache/ntfy/cache.db - NTFY_CACHE_DURATION=24h @@ -26,7 +26,7 @@ services: - ${VOLUMES_PATH}/push/ntfy/varlib/:/var/lib/ntfy/ labels: - "traefik.enable=true" - - "traefik.http.routers.push.rule=Host(`push.${DOMAIN}`)" + - "traefik.http.routers.push.rule=Host(`${FQDN_PUSH}`)" - "traefik.http.routers.push.entrypoints=websecure" - "traefik.http.routers.push.tls.certresolver=netcup" - "traefik.http.routers.push.tls.options=intermediate@file" diff --git a/wallabag/docker-compose.yaml b/wallabag/docker-compose.yaml index 0130a05..e011ecb 100644 --- a/wallabag/docker-compose.yaml +++ b/wallabag/docker-compose.yaml @@ -15,7 +15,7 @@ services: - SYMFONY__ENV__MAILER_USER=~ - SYMFONY__ENV__MAILER_PASSWORD=~ - SYMFONY__ENV__FROM_EMAIL=wallabag@${DOMAIN} - - SYMFONY__ENV__DOMAIN_NAME=https://wallabag.${DOMAIN} + - SYMFONY__ENV__DOMAIN_NAME=https://${FQDN_WALLABAG} networks: - web - wallabag @@ -27,7 +27,7 @@ services: timeout: 3s labels: - "traefik.enable=true" - - "traefik.http.routers.wallabag.rule=Host(`wallabag.${DOMAIN}`)" + - "traefik.http.routers.wallabag.rule=Host(`${FQDN_WALLABAG}`)" - "traefik.http.routers.wallabag.entrypoints=websecure" - "traefik.http.routers.wallabag.tls.certresolver=netcup" - "traefik.http.routers.wallabag.tls.options=intermediate@file" diff --git a/www/docker-compose.yaml b/www/docker-compose.yaml index b56b307..80e2e63 100644 --- a/www/docker-compose.yaml +++ b/www/docker-compose.yaml @@ -20,10 +20,10 @@ services: - "traefik.http.routers.webroot.tls.options=intermediate@file" - "traefik.http.routers.webroot.middlewares=redirect-to-www" - "traefik.http.middlewares.redirect-to-www.redirectregex.regex=^https?://${DOMAIN}/(.*)" - - "traefik.http.middlewares.redirect-to-www.redirectregex.replacement=https://www.${DOMAIN}/$${1}" + - "traefik.http.middlewares.redirect-to-www.redirectregex.replacement=https://${FQDN_WWW}/$${1}" - "traefik.http.middlewares.redirect-to-www.redirectregex.permanent=true" - "traefik.http.routers.www-secure.entrypoints=websecure" - - "traefik.http.routers.www-secure.rule=Host(`www.${DOMAIN}`)" + - "traefik.http.routers.www-secure.rule=Host(`${FQDN_WWW}`)" - "traefik.http.routers.www-secure.tls.certresolver=netcup" - "traefik.http.routers.www-secure.tls.options=intermediate@file" - "docker.group=www"