From: Giorgio Ravera Date: Wed, 23 Nov 2022 02:48:16 +0000 (+0100) Subject: Added comments X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=b53ed391c1aae35e9871d70db4179a32629b4011;p=docker.git Added comments --- diff --git a/code-server/docker-compose.yaml b/code-server/docker-compose.yaml index 6eeb266..d0b8db5 100644 --- a/code-server/docker-compose.yaml +++ b/code-server/docker-compose.yaml @@ -23,16 +23,19 @@ services: - proxy labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.code-server.entrypoints=http" - "traefik.http.routers.code-server.rule=Host(`code.giorgioravera.it`)" - "traefik.http.routers.code-server.service=code-server" #- "traefik.http.routers.code-server.middlewares=code-server-https-redirect" + # Router: HTTPS - "traefik.http.routers.code-server-secure.entrypoints=https" - "traefik.http.routers.code-server-secure.rule=Host(`code.giorgioravera.it`)" - "traefik.http.routers.code-server-secure.tls=true" - #- "traefik.http.routers.code-server-secure.tls.certresolver=http" - "traefik.http.routers.code-server-secure.service=code-server" + # Middlewares: Redirect http to https #- "traefik.http.middlewares.code-server-https-redirect.redirectscheme.scheme=https" + # Services: Loadbalancer - "traefik.http.services.code-server.loadbalancer.server.port=8443" networks: diff --git a/download/amule.yaml b/download/amule.yaml index 126a7d4..89b6cff 100644 --- a/download/amule.yaml +++ b/download/amule.yaml @@ -23,18 +23,22 @@ services: - proxy labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.amule.entrypoints=http" - "traefik.http.routers.amule.rule=Host(`download.giorgioravera.it`) && PathPrefix(`/amule`)" #- "traefik.http.routers.amule.service=amule" - "traefik.http.routers.amule.middlewares=amule-stripprefix" - "traefik.http.routers.amule.middlewares=amule-https-redirect" + # Router: HTTPS - "traefik.http.routers.amule-secure.entrypoints=https" - "traefik.http.routers.amule-secure.rule=Host(`download.giorgioravera.it`) && PathPrefix(`/amule`)" - "traefik.http.routers.amule-secure.tls=true" - "traefik.http.routers.amule-secure.service=amule" - "traefik.http.routers.amule-secure.middlewares=amule-stripprefix" + # Middlewares: Redirect http to https - "traefik.http.middlewares.amule-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.amule-stripprefix.stripprefix.prefixes=/amule" + # Services: Loadbalancer - "traefik.http.services.amule.loadbalancer.server.port=4711" networks: diff --git a/download/filebrowser.yaml b/download/filebrowser.yaml index a7e53cc..a21ba38 100644 --- a/download/filebrowser.yaml +++ b/download/filebrowser.yaml @@ -21,15 +21,19 @@ services: disable: true labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.filebrowser.entrypoints=http" - "traefik.http.routers.filebrowser.rule=Host(`download.giorgioravera.it`)" #- "traefik.http.routers.filebrowser.service=filebrowser" - "traefik.http.routers.filebrowser.middlewares=filebrowser-https-redirect" + # Router: HTTPS - "traefik.http.routers.filebrowser-secure.entrypoints=https" - "traefik.http.routers.filebrowser-secure.rule=Host(`download.giorgioravera.it`)" - "traefik.http.routers.filebrowser-secure.tls=true" - "traefik.http.routers.filebrowser-secure.service=filebrowser" + # Middlewares: Redirect http to https - "traefik.http.middlewares.filebrowser-https-redirect.redirectscheme.scheme=https" + # Services: Loadbalancer - "traefik.http.services.filebrowser.loadbalancer.server.port=80" networks: diff --git a/download/jackett.yaml b/download/jackett.yaml index b38395f..3727380 100644 --- a/download/jackett.yaml +++ b/download/jackett.yaml @@ -19,20 +19,24 @@ services: - proxy labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.jackett.entrypoints=http" - "traefik.http.routers.jackett.rule=Host(`download.giorgioravera.it`) && (PathPrefix(`/sources`) || PathPrefix(`/jackett`))" #- "traefik.http.routers.jackett.service=jackett" - "traefik.http.routers.jackett.middlewares=jackett-stripprefix" - "traefik.http.routers.jackett.middlewares=jackett-https-redirect" + # Router: HTTPS - "traefik.http.routers.jackett-secure.entrypoints=https" - "traefik.http.routers.jackett-secure.rule=Host(`download.giorgioravera.it`) && (PathPrefix(`/sources`) || PathPrefix(`/jackett`))" - "traefik.http.routers.jackett-secure.tls=true" - "traefik.http.routers.jackett-secure.service=jackett" - "traefik.http.routers.jackett-secure.middlewares=jackett-stripprefix" + # Middlewares: Redirect http to https - "traefik.http.middlewares.jackett-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.jackett-stripprefix.stripprefix.prefixes=/sources" + # Services: Loadbalancer - "traefik.http.services.jackett.loadbalancer.server.port=9117" networks: diff --git a/download/radarr.yaml b/download/radarr.yaml index a9229ca..7cd7286 100644 --- a/download/radarr.yaml +++ b/download/radarr.yaml @@ -20,20 +20,24 @@ services: - proxy labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.radarr.entrypoints=http" - "traefik.http.routers.radarr.rule=Host(`download.giorgioravera.it`) && (PathPrefix(`/film`) || PathPrefix(`/radarr`))" #- "traefik.http.routers.radarr.service=radarr" - "traefik.http.routers.radarr.middlewares=radarr-stripprefix" - "traefik.http.routers.radarr.middlewares=radarr-https-redirect" + # Router: HTTPS - "traefik.http.routers.radarr-secure.entrypoints=https" - "traefik.http.routers.radarr-secure.rule=Host(`download.giorgioravera.it`) && (PathPrefix(`/film`) || PathPrefix(`/radarr`))" - "traefik.http.routers.radarr-secure.tls=true" - "traefik.http.routers.radarr-secure.service=radarr" - "traefik.http.routers.radarr-secure.middlewares=radarr-stripprefix" + # Middlewares: Redirect http to https - "traefik.http.middlewares.radarr-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.radarr-stripprefix.stripprefix.prefixes=/film" + # Services: Loadbalancer - "traefik.http.services.radarr.loadbalancer.server.port=7878" networks: diff --git a/download/readarr.yaml b/download/readarr.yaml index e0cefac..142f1b8 100644 --- a/download/readarr.yaml +++ b/download/readarr.yaml @@ -21,20 +21,24 @@ services: - proxy labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.readarr.entrypoints=http" - "traefik.http.routers.readarr.rule=Host(`download.giorgioravera.it`) && (PathPrefix(`/books`) || PathPrefix(`/readarr`))" #- "traefik.http.routers.readarr.service=readarr" - "traefik.http.routers.readarr.middlewares=readarr-stripprefix" - "traefik.http.routers.readarr.middlewares=readarr-https-redirect" + # Router: HTTPS - "traefik.http.routers.readarr-secure.entrypoints=https" - "traefik.http.routers.readarr-secure.rule=Host(`download.giorgioravera.it`) && (PathPrefix(`/books`) || PathPrefix(`/readarr`))" - "traefik.http.routers.readarr-secure.tls=true" - "traefik.http.routers.readarr-secure.service=readarr" - "traefik.http.routers.readarr-secure.middlewares=readarr-stripprefix" + # Middlewares: Redirect http to https - "traefik.http.middlewares.readarr-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.readarr-stripprefix.stripprefix.prefixes=/books" + # Services: Loadbalancer - "traefik.http.services.readarr.loadbalancer.server.port=8787" networks: diff --git a/download/sonarr.yaml b/download/sonarr.yaml index dd56f6d..e557d32 100644 --- a/download/sonarr.yaml +++ b/download/sonarr.yaml @@ -20,20 +20,24 @@ services: - proxy labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.sonarr.entrypoints=http" - "traefik.http.routers.sonarr.rule=Host(`download.giorgioravera.it`) && (PathPrefix(`/serietv`) || PathPrefix(`/sonarr`))" #- "traefik.http.routers.sonarr.service=sonarr" - "traefik.http.routers.sonarr.middlewares=sonarr-stripprefix" - "traefik.http.routers.sonarr.middlewares=sonarr-https-redirect" + # Router: HTTPS - "traefik.http.routers.sonarr-secure.entrypoints=https" - "traefik.http.routers.sonarr-secure.rule=Host(`download.giorgioravera.it`) && (PathPrefix(`/serietv`) || PathPrefix(`/sonarr`))" - "traefik.http.routers.sonarr-secure.tls=true" - "traefik.http.routers.sonarr-secure.service=sonarr" - "traefik.http.routers.sonarr-secure.middlewares=sonarr-stripprefix" + # Middlewares: Redirect http to https - "traefik.http.middlewares.sonarr-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.sonarr-stripprefix.stripprefix.prefixes=/serietv" + # Services: Loadbalancer - "traefik.http.services.sonarr.loadbalancer.server.port=8989" networks: diff --git a/download/transmission.yaml b/download/transmission.yaml index 2387f9e..f7f0a2a 100644 --- a/download/transmission.yaml +++ b/download/transmission.yaml @@ -28,20 +28,24 @@ services: - proxy labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.transmission.entrypoints=http" - "traefik.http.routers.transmission.rule=Host(`download.giorgioravera.it`) && (PathPrefix(`/torrent`) || PathPrefix(`/transmission`))" #- "traefik.http.routers.transmission.service=transmission" - "traefik.http.routers.transmission.middlewares=transmission-stripprefix" - "traefik.http.routers.transmission.middlewares=transmission-https-redirect" + # Router: HTTPS - "traefik.http.routers.transmission-secure.entrypoints=https" - "traefik.http.routers.transmission-secure.rule=Host(`download.giorgioravera.it`) && (PathPrefix(`/torrent`) || PathPrefix(`/transmission`))" - "traefik.http.routers.transmission-secure.tls=true" - "traefik.http.routers.transmission-secure.service=transmission" - "traefik.http.routers.transmission-secure.middlewares=transmission-stripprefix" + # Middlewares: Redirect http to https - "traefik.http.middlewares.transmission-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.transmission-stripprefix.stripprefix.prefixes=/torrent" + # Services: Loadbalancer - "traefik.http.services.transmission.loadbalancer.server.port=9091" networks: diff --git a/esphome/docker-compose.yaml b/esphome/docker-compose.yaml index 861164c..93ebc4f 100644 --- a/esphome/docker-compose.yaml +++ b/esphome/docker-compose.yaml @@ -19,19 +19,22 @@ services: # - proxy labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.esphome.entrypoints=http" - "traefik.http.routers.esphome.rule=Host(`home.giorgioravera.it`) && PathPrefix(`/esphome`)" - "traefik.http.routers.esphome.service=esphome" - "traefik.http.routers.esphome.middlewares=esphome-stripprefix" #- "traefik.http.routers.esphome.middlewares=esphome-https-redirect" + # Router: HTTPS - "traefik.http.routers.esphome-secure.entrypoints=https" - "traefik.http.routers.esphome-secure.rule=Host(`home.giorgioravera.it`) && PathPrefix(`/esphome`)" - "traefik.http.routers.esphome-secure.tls=true" - #- "traefik.http.routers.esphome-secure.tls.certresolver=http" - "traefik.http.routers.esphome-secure.service=esphome" - "traefik.http.routers.esphome-secure.middlewares=esphome-stripprefix" + # Middlewares: Redirect http to https #- "traefik.http.middlewares.esphome-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.esphome-stripprefix.stripprefix.prefixes=/esphome" + # Services: Loadbalancer - "traefik.http.services.esphome.loadbalancer.server.port=6052" #networks: diff --git a/homeassistant/docker-compose.yaml b/homeassistant/docker-compose.yaml index ebe9881..595853d 100644 --- a/homeassistant/docker-compose.yaml +++ b/homeassistant/docker-compose.yaml @@ -19,16 +19,19 @@ services: network_mode: host labels: - "traefik.enable=true" + # Router: HTTPS - "traefik.http.routers.homeassistant.entrypoints=http" - "traefik.http.routers.homeassistant.rule=Host(`home.giorgioravera.it`)" #- "traefik.http.routers.homeassistant.service=homeassistant" - "traefik.http.routers.homeassistant.middlewares=homeassistant-https-redirect" + # Router: HTTPS - "traefik.http.routers.homeassistant-secure.entrypoints=https" - "traefik.http.routers.homeassistant-secure.rule=Host(`home.giorgioravera.it`)" - "traefik.http.routers.homeassistant-secure.tls=true" - #- "traefik.http.routers.homeassistant-secure.tls.certresolver=http" - "traefik.http.routers.homeassistant-secure.service=homeassistant" + # Middlewares: Redirect http to https - "traefik.http.middlewares.homeassistant-https-redirect.redirectscheme.scheme=https" + # Services: Loadbalancer - "traefik.http.services.homeassistant.loadbalancer.server.port=8123" zigbee2mqtt: @@ -55,19 +58,22 @@ services: - proxy labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.zigbee2mqtt.entrypoints=http" - "traefik.http.routers.zigbee2mqtt.rule=Host(`home.giorgioravera.it`) && PathPrefix(`/zigbee2mqtt`)" - "traefik.http.routers.zigbee2mqtt.service=zigbee2mqtt" - "traefik.http.routers.zigbee2mqtt.middlewares=zigbee2mqtt-stripprefix" #- "traefik.http.routers.zigbee2mqtt.middlewares=zigbee2mqtt-https-redirect" + # Router: HTTPS - "traefik.http.routers.zigbee2mqtt-secure.entrypoints=https" - "traefik.http.routers.zigbee2mqtt-secure.rule=Host(`home.giorgioravera.it`) && PathPrefix(`/zigbee2mqtt`)" - "traefik.http.routers.zigbee2mqtt-secure.tls=true" - #- "traefik.http.routers.zigbee2mqtt-secure.tls.certresolver=http" - "traefik.http.routers.zigbee2mqtt-secure.service=zigbee2mqtt" - "traefik.http.routers.zigbee2mqtt-secure.middlewares=zigbee2mqtt-stripprefix" + # Middlewares: Redirect http to https #- "traefik.http.middlewares.zigbee2mqtt-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.zigbee2mqtt-stripprefix.stripprefix.prefixes=/zigbee2mqtt" + # Services: Loadbalancer - "traefik.http.services.zigbee2mqtt.loadbalancer.server.port=8080" mosquitto: diff --git a/portainer/docker-compose.yaml b/portainer/docker-compose.yaml index 1653eb3..d716189 100644 --- a/portainer/docker-compose.yaml +++ b/portainer/docker-compose.yaml @@ -17,15 +17,19 @@ services: - proxy labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.portainer.entrypoints=http" - "traefik.http.routers.portainer.rule=Host(`docker.giorgioravera.it`)" #- "traefik.http.routers.portainer.service=portainer" - "traefik.http.routers.portainer.middlewares=portainer-https-redirect" + # Router: HTTPS - "traefik.http.routers.portainer-secure.entrypoints=https" - "traefik.http.routers.portainer-secure.rule=Host(`docker.giorgioravera.it`)" - "traefik.http.routers.portainer-secure.tls=true" - "traefik.http.routers.portainer-secure.service=portainer" + # Middlewares: Redirect http to https - "traefik.http.middlewares.portainer-https-redirect.redirectscheme.scheme=https" + # Services: Loadbalancer - "traefik.http.services.portainer.loadbalancer.server.port=9000" networks: diff --git a/pydio-cells/docker-compose.yaml b/pydio-cells/docker-compose.yaml index 32440cf..4d2e569 100644 --- a/pydio-cells/docker-compose.yaml +++ b/pydio-cells/docker-compose.yaml @@ -18,16 +18,19 @@ services: - proxy labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.pydio.entrypoints=http" - "traefik.http.routers.pydio.rule=Host(`cloud.giorgioravera.it`)" - - "traefik.http.routers.pydio.service=pydio" - #- "traefik.http.routers.pydio.middlewares=pydio-https-redirect" + #- "traefik.http.routers.pydio.service=pydio" + - "traefik.http.routers.pydio.middlewares=pydio-https-redirect" + # Router: HTTPS - "traefik.http.routers.pydio-secure.entrypoints=https" - "traefik.http.routers.pydio-secure.rule=Host(`cloud.giorgioravera.it`)" - "traefik.http.routers.pydio-secure.tls=true" - #- "traefik.http.routers.pydio-secure.tls.certresolver=http" - "traefik.http.routers.pydio-secure.service=pydio" - #- "traefik.http.middlewares.pydio-https-redirect.redirectscheme.scheme=https" + # Middlewares: Redirect http to https + - "traefik.http.middlewares.pydio-https-redirect.redirectscheme.scheme=https" + # Services: Loadbalancer - "traefik.http.services.pydio.loadbalancer.server.port=8080" networks: diff --git a/xen-orchestra-ce/docker-compose.yaml b/xen-orchestra-ce/docker-compose.yaml index 2b68309..5cdb6da 100644 --- a/xen-orchestra-ce/docker-compose.yaml +++ b/xen-orchestra-ce/docker-compose.yaml @@ -31,15 +31,19 @@ services: disable: true labels: - "traefik.enable=true" + # Router: HTTP - "traefik.http.routers.xoa.entrypoints=http" - "traefik.http.routers.xoa.rule=Host(`xoa.giorgioravera.it`)" #- "traefik.http.routers.xoa.service=xoa" - "traefik.http.routers.xoa.middlewares=xoa-https-redirect" + # Router: HTTPS - "traefik.http.routers.xoa-secure.entrypoints=https" - "traefik.http.routers.xoa-secure.rule=Host(`xoa.giorgioravera.it`)" - "traefik.http.routers.xoa-secure.tls=true" - "traefik.http.routers.xoa-secure.service=xoa" + # Middlewares: Redirect http to https - "traefik.http.middlewares.xoa-https-redirect.redirectscheme.scheme=https" + # Services: Loadbalancer - "traefik.http.services.xoa.loadbalancer.server.port=8000" redis: