Morning All!
I've set up Traefik using the Traefik.yml and docker-compose.yml files from Github.
I've checked Portainer and the container stack has been created. I've checked my acme.json file and a certificate has been created which has my domain name in there.
I've created a domain name on Cloudflare and this has a CNAME and a A record.
I haven't created a DNS record for my traefik dashboard. Do i need to do this?
I am running OPNsense with Unbound pointing my DNS to 1.1.1.1 and 8.8.8.8.
What steps am i missing?
Not sure what you want to achieve. If you want to access Traefik at traefik.example.com
, then you need to create an DNS entry to resolve the sub-domain to the target IP. It can be at a provider like Cloudflare, at a local DNS service like Unbound, or in your client's hosts
file.
Thanks. I just want to be able to prove that Traefik is working by accessing the dashboard and then take it from there.
In my docker-compose file i've created a pointer for the router to point to traefik-docker.meddynet.co.uk
Would i need to create this as an A record in Cloudflare to point to my LXC container? Is there any firewall rules that I would need to create to allow/pass this?