{"id":30797085,"url":"https://github.com/gharib-uk/traefik-cheating","last_synced_at":"2025-09-05T17:13:11.357Z","repository":{"id":225617240,"uuid":"766241751","full_name":"gharib-uk/Traefik-Cheating","owner":"gharib-uk","description":"Traefik Cheating in Writing Configuration Files","archived":false,"fork":false,"pushed_at":"2024-03-05T18:47:58.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-21T16:46:34.415Z","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/gharib-uk.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,"publiccode":null,"codemeta":null}},"created_at":"2024-03-02T18:10:32.000Z","updated_at":"2024-08-12T14:37:10.000Z","dependencies_parsed_at":"2025-03-23T00:44:39.356Z","dependency_job_id":null,"html_url":"https://github.com/gharib-uk/Traefik-Cheating","commit_stats":null,"previous_names":["gharib110/traefik-cheating","gharib-uk/traefik-cheating"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gharib-uk/Traefik-Cheating","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gharib-uk%2FTraefik-Cheating","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gharib-uk%2FTraefik-Cheating/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gharib-uk%2FTraefik-Cheating/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gharib-uk%2FTraefik-Cheating/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gharib-uk","download_url":"https://codeload.github.com/gharib-uk/Traefik-Cheating/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gharib-uk%2FTraefik-Cheating/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273790388,"owners_count":25168669,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09-05T17:13:02.419Z","updated_at":"2025-09-05T17:13:11.344Z","avatar_url":"https://github.com/gharib-uk.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%2Fgharib-uk%2Ftraefik-cheating","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgharib-uk%2Ftraefik-cheating","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgharib-uk%2Ftraefik-cheating/lists"}