{"id":26572434,"url":"https://github.com/gharib110/traefik-cheating","last_synced_at":"2025-03-23T00:34:39.368Z","repository":{"id":225617240,"uuid":"766241751","full_name":"Gharib110/Traefik-Cheating","owner":"Gharib110","description":"Traefik Cheating in Writing Configuration Files","archived":false,"fork":false,"pushed_at":"2024-03-05T18:47:58.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-05T20:10:48.246Z","etag":null,"topics":["load-balancer","traefik","traefik-docker","traefik-file","traefik-v2"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gharib110.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-02T18:10:32.000Z","updated_at":"2024-03-04T20:57:13.000Z","dependencies_parsed_at":"2024-03-03T09:28:52.161Z","dependency_job_id":null,"html_url":"https://github.com/Gharib110/Traefik-Cheating","commit_stats":null,"previous_names":["gharib110/traefik-cheating"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gharib110%2FTraefik-Cheating","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gharib110%2FTraefik-Cheating/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gharib110%2FTraefik-Cheating/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gharib110%2FTraefik-Cheating/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gharib110","download_url":"https://codeload.github.com/Gharib110/Traefik-Cheating/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245040234,"owners_count":20551297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["load-balancer","traefik","traefik-docker","traefik-file","traefik-v2"],"created_at":"2025-03-23T00:34:23.171Z","updated_at":"2025-03-23T00:34:39.327Z","avatar_url":"https://github.com/Gharib110.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traefik-Cheating\nTraefik Cheating in Writing Configuration Files\n- For Using Traefik with Docker, you need to create a network in docker with this cmd `` docker network create --driver=bridge --attachable traefiknet `` or use the default network which the docker-compose creates it for you to use to connect other containers to traefik\n- For using with swarm mode use `` --driver=overlay `` instead of `` --driver=bridge ``.\n\n## Traefik Static Configuration with File\n- traefik.yml\n- Three modes available for static configurations: ENV Vars, File, CMD Args\n- I Love files! So I choose File mode\n- The `` traefik.yml `` configures traefik systematically!\n- We use dynamic configuration for containers that are intended to connect to traefik\n- Inspect the parameters of the file precisely\n\n## Run Traefik\n- Traefik supports multiple providers like Nomad, File, Docker, Kubernetes ...\n- We use Docker along with Docker Swarm for scaling'\n- run its docker-compose file\n\n## Running Whoami Test Containter\n- Run `` whoami `` service with `` docker-compose up -d ``\n- But before it you should run traefik with docker-compose\n- This is just a sample container which helps us to test the traefik well\n- Just Run the docker-compose, but before it edit the `` networks  `` section\n\n## User-Defined TLS\n- Use the traefik.tls.yml file and put it int othe `` /opt/traefik/dynamic ``. IT is mapped to `` /etc/traefik/dynamic `` in the docker container\n- You should use `` docker-compose.tls.whoami.yml `` to enable the tls for it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgharib110%2Ftraefik-cheating","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgharib110%2Ftraefik-cheating","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgharib110%2Ftraefik-cheating/lists"}