Category : traefik

Trying out Traefik for the first time and am little stuck. Not sure where the problem is, looked in docs (but they are overwhelming for first time users) looked at other examples. Basically what I’m trying to achieve is have webserver with https redirects and letsencrypt certificates. All traffic redirects to https. The problem: When ..

Read more

I want to use jq to get value’s out of a the Traefik API service. The output of the service looks like this: { "loadBalancer": { "servers": [ { "url": "http://172.18.0.19:3000" }, { "url": "http://172.18.0.17:3000" }, { "url": "http://172.20.0.3:3000" } ], "healthCheck": { "path": "/health", "interval": "10s", "timeout": "10s", "followRedirects": true }, "passHostHeader": true }, ..

Read more

I am trying to get traefik work with portainer but nothing so far. My goal is to just type http://localhost/portainer and let traefik redirect to portainer portal. So far my docker-compose looks like this: services: reverse-proxy: image: traefik container_name: "traefik" networks: – traefik_net ports: – "80:80" – "8080:8080" volumes: – "/var/run/docker.sock:/var/run/docker.sock" – "./traefik.yml:/traefik.yml:ro" portainer: image: ..

Read more

I did follow this tutorial : https://rafrasenberg.com/posts/docker-container-management-with-traefik-v2-and-portainer/ to build a treafik reverse proxy on my server And I tested it with a very simple application that render a "hello world" in a index.html: version: "3" services: app: image: nginx environment: PORT: ${PORT} volumes: – .:/usr/share/nginx/html/ networks: – proxy – default labels: – "traefik.enable=true" – "traefik.docker.network=proxy" ..

Read more