Changes suggested by @DrMxrcy to remove exposing.
This commit is contained in:
parent
65f6e9a527
commit
c7b40fa470
|
@ -3,7 +3,7 @@
|
||||||
"name": "Glances",
|
"name": "Glances",
|
||||||
"port": 8420,
|
"port": 8420,
|
||||||
"available": true,
|
"available": true,
|
||||||
"exposable": true,
|
"exposable": false,
|
||||||
"id": "glances",
|
"id": "glances",
|
||||||
"tipi_version": 1,
|
"tipi_version": 1,
|
||||||
"version": "3.4.0.3-full",
|
"version": "3.4.0.3-full",
|
||||||
|
|
|
@ -20,16 +20,6 @@ services:
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
traefik.http.middlewares.glances-web-redirect.redirectscheme.scheme: https
|
traefik.http.middlewares.glances-web-redirect.redirectscheme.scheme: https
|
||||||
traefik.http.services.glances.loadbalancer.server.port: 61208
|
traefik.http.services.glances.loadbalancer.server.port: 61208
|
||||||
# Web
|
|
||||||
traefik.http.routers.glances-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
||||||
traefik.http.routers.glances-insecure.entrypoints: web
|
|
||||||
traefik.http.routers.glances-insecure.service: glances
|
|
||||||
traefik.http.routers.glances-insecure.middlewares: glances-web-redirect
|
|
||||||
# Websecure
|
|
||||||
traefik.http.routers.glances.rule: Host(`${APP_DOMAIN}`)
|
|
||||||
traefik.http.routers.glances.entrypoints: websecure
|
|
||||||
traefik.http.routers.glances.service: glances
|
|
||||||
traefik.http.routers.glances.tls.certresolver: myresolver
|
|
||||||
# Local domain
|
# Local domain
|
||||||
traefik.http.routers.glances-local-insecure.rule: Host(`glances.${LOCAL_DOMAIN}`)
|
traefik.http.routers.glances-local-insecure.rule: Host(`glances.${LOCAL_DOMAIN}`)
|
||||||
traefik.http.routers.glances-local-insecure.entrypoints: web
|
traefik.http.routers.glances-local-insecure.entrypoints: web
|
||||||
|
@ -39,4 +29,4 @@ services:
|
||||||
traefik.http.routers.glances-local.rule: Host(`glances.${LOCAL_DOMAIN}`)
|
traefik.http.routers.glances-local.rule: Host(`glances.${LOCAL_DOMAIN}`)
|
||||||
traefik.http.routers.glances-local.entrypoints: websecure
|
traefik.http.routers.glances-local.entrypoints: websecure
|
||||||
traefik.http.routers.glances-local.service: glances
|
traefik.http.routers.glances-local.service: glances
|
||||||
traefik.http.routers.glances-local.tls: true
|
traefik.http.routers.glances-local.tls: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user