Updated Development container to use Traefik labels
This commit is contained in:
@ -15,13 +15,13 @@ services:
|
||||
labels:
|
||||
## Expose Bitwarden Through Trefik ##
|
||||
- "traefik.enable=true" # <== Enable traefik to proxy this container
|
||||
- "traefik.http.routers.containername.rule=Host(`bitwarden.luke-else.co.uk`) || Host(`www.bitwarden.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.containername.entrypoints=http"
|
||||
- "traefik.http.routers.containername.middlewares=redirect@file"
|
||||
- "traefik.http.routers.bitwarden.rule=Host(`bitwarden.luke-else.co.uk`) || Host(`www.bitwarden.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.bitwarden.entrypoints=http"
|
||||
- "traefik.http.routers.bitwarden.middlewares=redirect@file"
|
||||
|
||||
- "traefik.http.routers.containername-secured.rule=Host(`bitwarden.luke-else.co.uk`) || Host(`www.bitwarden.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.containername-secured.entrypoints=https"
|
||||
- "traefik.http.routers.containername-secured.tls.certresolver=mytlschallenge"
|
||||
- "traefik.http.routers.bitwarden-secured.rule=Host(`bitwarden.luke-else.co.uk`) || Host(`www.bitwarden.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.bitwarden-secured.entrypoints=https"
|
||||
- "traefik.http.routers.bitwarden-secured.tls.certresolver=mytlschallenge"
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
|
Reference in New Issue
Block a user