Compose-Examples/examples/traefik
2023-02-25 14:09:52 +01:00
..
docker-compose.yml add env 'DOCKER_VOLUME_STORAGE' for volume path customization 2023-02-25 14:09:52 +01:00
fileConfig.yml cleanup repo 2023-02-23 22:33:13 +01:00
logrotate_example.txt cleanup repo 2023-02-23 22:33:13 +01:00
README.md Update README.md 2023-02-24 22:59:43 +01:00
traefik.yml cleanup repo 2023-02-23 22:33:13 +01:00

References

Notes

  1. Put the provided traefik.yml (static) and fileConfig.yml (dynamic) configuration files to your volume bind mount (here /mnt/docker-volumes/traefik).
  2. Add your Cloudflare API token as environment variable to the docker-compose.yml file and define your Cloudflare email address in the traefik.yml file.
  3. Adjust the static and dynamic configuration files to your needs. Especially replace the example.com strings with your domain name.

Optionally configure logrotation on your Docker host server if you've enabled Traefik access logs. See logrotate_example.txt as example.