{"id":25195812,"url":"https://github.com/guilhermednt/router","last_synced_at":"2026-04-21T10:04:15.484Z","repository":{"id":49192688,"uuid":"126778472","full_name":"guilhermednt/router","owner":"guilhermednt","description":"Simple Traefik router. Good for local development.","archived":false,"fork":false,"pushed_at":"2021-06-26T01:44:00.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T15:52:34.723Z","etag":null,"topics":["developer-tools","development-environment","docker","docker-compose","http","reverse-proxy","traefik"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guilhermednt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-26T05:39:38.000Z","updated_at":"2021-06-26T01:44:02.000Z","dependencies_parsed_at":"2022-08-29T14:31:59.894Z","dependency_job_id":null,"html_url":"https://github.com/guilhermednt/router","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/guilhermednt/router","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilhermednt%2Frouter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilhermednt%2Frouter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilhermednt%2Frouter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilhermednt%2Frouter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guilhermednt","download_url":"https://codeload.github.com/guilhermednt/router/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilhermednt%2Frouter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019122,"owners_count":26086679,"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-10-14T02:00:06.444Z","response_time":60,"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":["developer-tools","development-environment","docker","docker-compose","http","reverse-proxy","traefik"],"created_at":"2025-02-10T01:38:34.623Z","updated_at":"2025-10-14T14:16:50.830Z","avatar_url":"https://github.com/guilhermednt.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# router\n\nSimple Traefik router. Good for local development and simple deployments.\n\n# Usage\n\n## TLS\n\nTo configure Let's Encrypt we are usind DNS Challenge.\n\nThe included example uses DigitalOcean's API but you can check other providers [here](https://doc.traefik.io/traefik/https/acme/#providers)\n\nCreate a `.env` based on `.env.dist`.\n\n## Using this router\n\n### Configure the `web` network\n\nYou need to create a `web` network for containers that should be exposed by the router.\n\n    $ docker network create --driver bridge --subnet your:ipv6:subnet/124 --ipv6 web\n\n### Start Router\n\nStart the router itself with the following command:\n\n    $ docker-compose up -d\n\n### Configure your services\n\nNow you can configure your containers to use it. Here's an example:\n\n```yaml\nversion: '3.5'\n\nservices:\n  my_service:\n    image: my/service\n    labels:\n      - traefik.enable=true\n      - traefik.http.routers.donato.rule=Host(`example.com`)\n      - traefik.http.routers.donato.tls=true\n      - traefik.http.routers.donato.tls.certResolver=lets-encrypt\n      - traefik.http.routers.donato.middlewares=secHeaders@file\n      - traefik.port=80\n    networks:\n      - web\n\nnetworks:\n  web:\n    external: true\n```\n\nWhen you start the `my_service` container Traefik will automatically detect it and redirect all requests for `example.com` to the container.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilhermednt%2Frouter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguilhermednt%2Frouter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilhermednt%2Frouter/lists"}