{"id":18794726,"url":"https://github.com/tjventurini/traefik-reverse-proxy","last_synced_at":"2026-01-08T12:31:56.021Z","repository":{"id":130674860,"uuid":"480986930","full_name":"tjventurini/traefik-reverse-proxy","owner":"tjventurini","description":"Reverse proxy for my Docker 🐳 environments.","archived":false,"fork":false,"pushed_at":"2024-06-01T10:18:11.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T20:29:16.825Z","etag":null,"topics":["docker","docker-compose"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/tjventurini.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-12T22:05:11.000Z","updated_at":"2024-06-01T10:18:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0be1385-c934-4dee-913e-afa74cb3a772","html_url":"https://github.com/tjventurini/traefik-reverse-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjventurini%2Ftraefik-reverse-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjventurini%2Ftraefik-reverse-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjventurini%2Ftraefik-reverse-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjventurini%2Ftraefik-reverse-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tjventurini","download_url":"https://codeload.github.com/tjventurini/traefik-reverse-proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246358334,"owners_count":20764366,"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":["docker","docker-compose"],"created_at":"2024-11-07T21:30:43.142Z","updated_at":"2026-01-08T12:31:55.991Z","avatar_url":"https://github.com/tjventurini.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traefik Reverse Proxy\n\n[Traefik](https://doc.traefik.io/traefik/) setup inspired by [korridor/reverse-proxy-docker-traefik](https://github.com/korridor/reverse-proxy-docker-traefik).\n\nThis Traefik setup is an easy way to setup a local or production reverse proxy to handle incoming requests from outside your docker environment.\n\n## Quick Start\n\nFirst you will need to clone this repository.\n\n```bash\ngit clone git@github.com:tjventurini/traefik-reverse-proxy.git\n```\n\nNavigate into the project directory in order to continue.\n\n```bash\ncd traefik-reverse-proxy\n```\n\nNow simply run `make init` or `make` from within the project root directory. The wizard will guide you through 🧙‍♂️\n\n```bash\nmake init\n```\n\n## Usage\n\n### Commands\n\n```bash\n# Run setup wizard\nmake init\n# Start Traefik\nmake start\n# Stop Traefik\nmake down\nmake stop # alias for 'make down'\n# Uninstall Traefik\nmake clear\n```\n\n## Configuration\n\nYou can configure your traefik environment by editing the `.env` file. See the contents of that file for more information.\n\nAt the time of writing this the following options are available.\n\n```\nNETWORK_NAME=reverse-proxy\nRESTART=no\nDASHBOARD=true\nHOST=localhost\n```\n\n## Add Docker-Compose Services to Traefik Network\n\n### Development Environment\n\nUpdate your projects `docker-compose.yml` file so that it includes the *network* and *labels* as shown below. Also make sure that you do not expose any ports on your services.\n\n```yml\nversion: '3.8'\n\n# setup the network\nnetworks:\n  frontend:\n    external:\n      name: reverse-proxy\n\nservices:\n  someservice:\n    # add the labels to the service configuration\n    labels:\n      - \"traefik.enable=true\"\n      - \"traefik.docker.network=reverse-proxy\"\n      # http\n      - \"traefik.http.routers.someservice.rule=Host(`someservice.com`)\"\n      - \"traefik.http.routers.someservice.entrypoints=web\"\n    # add the network to the service configuration\n    networks:\n     - frontend\n    # ...\n```\n\n### Production Environment\n\n```yml\nversion: '3.8'\n\n# setup the network\nnetworks:\n  frontend:\n    external:\n      name: reverse-proxy\n\nservices:\n  someservice:\n    # add the labels to the service configuration\n    labels:\n      - \"traefik.enable=true\"\n      - \"traefik.docker.network=reverse-proxy\"\n      # https\n      - \"traefik.http.routers.someservice.rule=Host(`someservice.com`)\"\n      - \"traefik.http.routers.someservice.entrypoints=websecure\"\n      - \"traefik.http.routers.someservice.tls=true\"\n      - \"traefik.http.routers.someservice.tls.certresolver=letsencrypt\"\n    # add the network to the service configuration\n    networks:\n     - frontend\n    # ...\n```\n\n## Links and Resources\n\n* https://doc.traefik.io/traefik/\n* https://github.com/korridor/reverse-proxy-docker-traefik\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjventurini%2Ftraefik-reverse-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftjventurini%2Ftraefik-reverse-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjventurini%2Ftraefik-reverse-proxy/lists"}