Category : traefik

Bonjour, J’ai créé un tableau de bord pour un client qui a un prestashop et tout un tas de sous-domaines sur un premier serveur. (offre VPS de chez OVH – Debian) Nous dirons que l’adresse du prestashop est : https://www.monclient.fr, celui s’execute sur le serveur#1. Le serveur#1 expose également des sites accessibles aux adresses https://sous-domaine1.monclient.fr, ..

Read more

Just leaving it here for those whose trying to solve same issue Gitlab, Registry, Pages example labels: – traefik.enable=true # Gitlab – traefik.http.routers.gitlab.tls=true – traefik.http.routers.gitlab.rule=Host(`gitlab.mycompany.local`) – traefik.http.routers.gitlab.priority=2 – traefik.http.routers.gitlab.service=gitlab-service – traefik.http.services.gitlab-service.loadbalancer.server.port=80 # Registry – traefik.http.routers.registry.tls=true – traefik.http.routers.registry.rule=Host(`registry.mycompany.local`) – traefik.http.routers.registry.priority=2 – traefik.http.routers.registry.service=registry-service – traefik.http.services.registry-service.loadbalancer.server.port=5001 # Pages – traefik.http.routers.pages.tls=true – traefik.http.routers.pages.rule=HostRegexp(`mycompany.local`,`{subhost:[a-zA-Z0-9-]+}.mycompany.local`) – traefik.http.routers.pages.priority=1 – traefik.http.routers.pages.service=pages-service – traefik.http.services.pages-service.loadbalancer.server.port=5002 ..

Read more

I am using docker traefik and behind that varnish to cache and my website is behind of varnish. This is docker-compose for my website and varnish services: version: "3.7" services: dev-ui-service: image: mywebsite.ui:latest networks: – localnetwork varnish: image: myvarnish:latest deploy: labels: – "traefik.enable=true" – "traefik.http.routers.ui.rule=Host(`mydomain.com`)" – "traefik.http.routers.ui.entrypoints=web" – "traefik.http.services.ui.loadbalancer.server.port=80" – "traefik.http.routers.ui-secured.rule=Host(`mydomain.com`)" – "traefik.http.routers.ui-secured.entrypoints=web-secured" – "traefik.http.routers.ui-secured.tls.certresolver=mytlschallenge" ..

Read more