Updated all containers to bring inline with needed Traefik config
This commit is contained in:
@ -11,13 +11,10 @@ services:
|
||||
labels:
|
||||
## Expose luke-else Through Trefik ##
|
||||
- "traefik.enable=true" # <== Enable traefik to proxy this container
|
||||
- "traefik.http.routers.luke-else.rule=Host(`luke-else.co.uk`) || Host(`www.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.luke-else.entrypoints=http"
|
||||
- "traefik.http.routers.luke-else.middlewares=redirect@file"
|
||||
|
||||
- "traefik.http.routers.luke-else-secured.rule=Host(`luke-else.co.uk`) || Host(`www.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.luke-else-secured.entrypoints=https"
|
||||
- "traefik.http.routers.luke-else-secured.tls.certresolver=mytlschallenge"
|
||||
- "traefik.http.services.personal.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.personal.rule=Host(`luke-else.co.uk`) || Host(`www.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.personal.entrypoints=websecure"
|
||||
- "traefik.http.routers.personal.tls.certresolver=myresolver"
|
||||
restart: unless-stopped
|
||||
|
||||
snexo.co.uk:
|
||||
@ -28,13 +25,10 @@ services:
|
||||
labels:
|
||||
## Expose Snexo Through Trefik ##
|
||||
- "traefik.enable=true" # <== Enable traefik to proxy this container
|
||||
- "traefik.http.routers.snexo.rule=Host(`snexo.luke-else.co.uk`) || Host(`www.snexo.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.snexo.entrypoints=http"
|
||||
- "traefik.http.routers.snexo.middlewares=redirect@file"
|
||||
|
||||
- "traefik.http.routers.snexo-secured.rule=Host(`snexo.luke-else.co.uk`) || Host(`www.snexo.luke-else.co.uk`)"
|
||||
- "traefik.http.routers.snexo-secured.entrypoints=https"
|
||||
- "traefik.http.routers.snexo-secured.tls.certresolver=mytlschallenge"
|
||||
- "traefik.http.services.snexo.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.snexo.rule=Host(`snexo.co.uk`) || Host(`www.snexo.co.uk`)"
|
||||
- "traefik.http.routers.snexo.entrypoints=websecure"
|
||||
- "traefik.http.routers.snexo.tls.certresolver=myresolver"
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
|
Reference in New Issue
Block a user