TraefikIntegration #5

Merged
luke-else merged 43 commits from TraefikIntegration into master 2023-08-08 19:50:40 +00:00
Showing only changes of commit bd79b17c7f - Show all commits

View File

@ -46,6 +46,16 @@ services:
- traefik
environment:
PMA_HOST: mysql
labels:
## Expose phpMyAdmin Through Trefik ##
- "traefik.enable=true" # <== Enable traefik to proxy this container
- "traefik.http.routers.phpMyAdmin.rule=Host(`mysql.luke-else.co.uk`) || Host(`www.mysql.luke-else.co.uk`)"
- "traefik.http.routers.phpMyAdmin.entrypoints=http"
- "traefik.http.routers.phpMyAdmin.middlewares=redirect@file"
- "traefik.http.routers.phpMyAdmin-secured.rule=Host(`mysql.luke-else.co.uk`) || Host(`www.mysql.luke-else.co.uk`)"
- "traefik.http.routers.phpMyAdmin-secured.entrypoints=https"
- "traefik.http.routers.phpMyAdmin-secured.tls.certresolver=mytlschallenge"
restart: unless-stopped
networks: