Report this

What is the reason for this report?

Help with portainer images and traefik

Posted on June 1, 2021

Hello, i followed this guide https://www.digitalocean.com/community/tutorials/how-to-use-traefik-v2-as-a-reverse-proxy-for-docker-containers-on-ubuntu-20-04

got my domain pointing to traefik perfectly thank you.

now how do i add traefik to my already installed portainer images, such as plex, phpmyadmin, ombi so that i can access them via my domain.?

I can see in portainer that i can add another network within portainer so i can add WEB to it there howerver do i need to make a new .toml for each one and point a volume there? is so what should be in the .toml



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

I think that as described in Step 3, you just need to specify the Traefik labels in the docker-compose.yaml file for your services:

    labels:
      - traefik.http.routers.blog.rule=Host(`blog.your_domain`)
      - traefik.http.routers.blog.tls=true
      - traefik.http.routers.blog.tls.certresolver=lets-encrypt
      - traefik.port=80

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.