forked from SimpleHomelab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Several updates 2024_01_30. See full commit log.
* Remove HTTPS redirect scheme middleware. Not used and redirects handled globally with CLI commands. * Changed entrypoint names from http/https to web/websecure to align with several online documentation. * Updated readme. * Changed basic auth secret from htpassd to basic_auth_credentials (just easier to understand)
- Loading branch information
1 parent
546bf74
commit ed05d1e
Showing
91 changed files
with
484 additions
and
520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
appdata/traefik2/rules/ds918/middlewares-https-redirectscheme.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
appdata/traefik2/rules/hs/middlewares-https-redirectscheme.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
appdata/traefik2/rules/ws/middlewares-https-redirectscheme.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Heimdall - Application Dashboard | ||
heimdall: | ||
<<: *common-keys-core # See EXTENSION FIELDS at the top | ||
image: lscr.io/linuxserver/heimdall | ||
container_name: heimdall | ||
# ports: | ||
# - "$HEIMDALL_PORT:80" # 80 to 82 already taken by other services | ||
# - "444:443" # 443 used by Traefik/Nginx Proxy Manager. Disabled because we will put Heimdall behind proxy. | ||
volumes: | ||
- $DOCKERDIR/appdata/heimdall:/config | ||
environment: | ||
<<: *default-tz-puid-pgid | ||
labels: | ||
- "traefik.enable=true" | ||
## HTTP Routers | ||
- "traefik.http.routers.heimdall-rtr.entrypoints=https" | ||
- "traefik.http.routers.heimdall-rtr.rule=Host(`$DOMAINNAME_CLOUD_SERVER`,`www.$DOMAINNAME_CLOUD_SERVER`)" | ||
## Middlewares | ||
- "traefik.http.routers.heimdall-rtr.middlewares=chain-oauth@file" | ||
## HTTP Services | ||
- "traefik.http.routers.heimdall-rtr.service=heimdall-svc" | ||
- "traefik.http.services.heimdall-svc.loadbalancer.server.port=80" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,30 @@ | ||
# Heimdall - Application Dashboard | ||
heimdall: | ||
<<: *common-keys-core # See EXTENSION FIELDS at the top | ||
image: lscr.io/linuxserver/heimdall | ||
container_name: heimdall | ||
services: | ||
# Homepage - Application Dashboard | ||
homepage: | ||
image: ghcr.io/gethomepage/homepage:latest | ||
container_name: homepage | ||
security_opt: | ||
- no-new-privileges:true | ||
restart: unless-stopped | ||
profiles: ["apps", "all"] | ||
networks: | ||
- t2_proxy | ||
- socket_proxy | ||
# ports: | ||
# - "$HEIMDALL_PORT:80" # 80 to 82 already taken by other services | ||
# - "444:443" # 443 used by Traefik/Nginx Proxy Manager. Disabled because we will put Heimdall behind proxy. | ||
# - "3000:3000" | ||
volumes: | ||
- $DOCKERDIR/appdata/heimdall:/config | ||
- $DOCKERDIR/appdata/homepage:/app/config | ||
environment: | ||
<<: *default-tz-puid-pgid | ||
TZ: $TZ | ||
PUID: $PUID | ||
PGID: $PGID | ||
labels: | ||
- "traefik.enable=true" | ||
## HTTP Routers | ||
- "traefik.http.routers.heimdall-rtr.entrypoints=https" | ||
- "traefik.http.routers.heimdall-rtr.rule=Host(`$DOMAINNAME_CLOUD_SERVER`,`www.$DOMAINNAME_CLOUD_SERVER`)" | ||
- "traefik.http.routers.homepage-rtr.entrypoints=websecure" | ||
- "traefik.http.routers.homepage-rtr.rule=Host(`$DOMAINNAME_1`,`www.$DOMAINNAME_1`)" # Both domain.com and www.domain.com | ||
## Middlewares | ||
- "traefik.http.routers.heimdall-rtr.middlewares=chain-oauth@file" | ||
- "traefik.http.routers.homepage-rtr.middlewares=chain-no-auth@file" | ||
## HTTP Services | ||
- "traefik.http.routers.heimdall-rtr.service=heimdall-svc" | ||
- "traefik.http.services.heimdall-svc.loadbalancer.server.port=80" | ||
- "traefik.http.routers.homepage-rtr.service=homepage-svc" | ||
- "traefik.http.services.homepage-svc.loadbalancer.server.port=3000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.