Autostart a global traefik reverse proxy
This repository contains all configs needed to auto-start a global traefik instance as a reverse-proxy in a docker-compose setup.
The use case is described in my blog post: https://hollo.me/devops/routing-to-multiple-docker-compose-development-setups-with-traefik.html
Currently the configs a tested on Mac OSX (Mojave) only.
- Clone this repository to
cp ~/traefik/com.user.traefik.autostart.plist ~/Library/LaunchAgents/com.user.traefik.autostart.plist
- Load the service with
launchctl load ~/Library/LaunchAgents/com.user.traefik.autostart.plist
- Check the log file for errors:
tail -F ~/Library/Logs/traefik.autostart.log
If you're not my future self, adapt the paths to the user's home directory in the configs before running anything.