What we’re going to do is configure a docker network - let’s call it web - that every service will be placed into that’s actually connected to the internet. Since this network will be service agnostic we’ll create it as an external network directly with the docker cli.
$ docker network create web
Don’t forget to boot up traefik via docker-compose from within it’s directory and we’re good to go ✨
$ docker-compose up -d
For using TLS, change file permisions:
$ chmod 0600 config/acme.json