{"id":17035800,"url":"https://github.com/danielm/traefik-reverse-proxy","last_synced_at":"2025-03-22T22:41:25.680Z","repository":{"id":75749354,"uuid":"595436320","full_name":"danielm/traefik-reverse-proxy","owner":"danielm","description":"Traefik Rever proxy EZ setup","archived":false,"fork":false,"pushed_at":"2024-11-19T14:24:30.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-28T02:22:16.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/danielm.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":"2023-01-31T04:12:51.000Z","updated_at":"2024-11-19T14:24:34.000Z","dependencies_parsed_at":"2024-11-26T00:01:38.407Z","dependency_job_id":null,"html_url":"https://github.com/danielm/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/danielm%2Ftraefik-reverse-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielm%2Ftraefik-reverse-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielm%2Ftraefik-reverse-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielm%2Ftraefik-reverse-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielm","download_url":"https://codeload.github.com/danielm/traefik-reverse-proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245031311,"owners_count":20549912,"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":[],"created_at":"2024-10-14T08:48:10.689Z","updated_at":"2025-03-22T22:41:25.658Z","avatar_url":"https://github.com/danielm.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traefik Reverse Proxy\n\nMinimal Traefik stuff to set up ur networking on a single docker host. Supports LetsEncrypt certificates.\n\n## Install\n- Clone the repository\n- Create a docker network and name it proxy: `docker network create traefik-proxy`\n- create `.env` from `.env.default`\n- create `conf/.htpasswd` from `conf/.htpasswd.default`\n- edit `conf/traefik.prod.yml` and change the `email` address used while generating certificates\n- Expose containers using stuff like:\n```yaml\n    myservice:\n      labels:\n        - \"traefik.enable=true\"\n        - \"traefik.http.routers.my-app.entrypoints=web\"\n        - \"traefik.http.routers.my-app.rule=Host(`my-app.localhost`)\"\n    networks:\n      - traefik-proxy\n```\n- Use `websecure` entrypoint for SSL support:\n```yaml\n    myservice:\n      labels:\n        - \"traefik.enable=true\"\n        - \"traefik.http.routers.my-app.entrypoints=websecure\"\n        - \"traefik.http.routers.my-app.rule=Host(`mystartup.com`)\"\n    networks:\n      - traefik-proxy\n```\n\n## Commands\n- All comands support ENV=prod/dev  (dev is default)\n- `$ make up` to run in development mode (non-https)\n- `$ ENV=prod make up` to run in production mode\n- `$ ENV=prod make bulid` to run in production mode\n- `$ ENV=prod make down` to run in production mode\n- `$ ENV=prod make stop` to run in production mode\n- `$ ENV=prod make ps` to run in production mode\n\n## Facts\n- Use *.localhost rules on your containers and services to 'expose' them.\n- `traefik-proxy` is the name of the external network\n- By defaul when local monitor available at: http://traefik.localhost/  (user admin, pass: admin)\n\n##  Change monitor password\n- Use Apache tools: `htpasswd -nb admin my_not_so_secret_pass`\n- Or some online editor [like this one](https://www.web2generators.com/apache-tools/htpasswd-generator)\n\n## About\nBy [Daniel Morales](https://daniel.uy)\nLicense: Released under the  [MIT license](https://github.com/danielm/uploader/blob/master/LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielm%2Ftraefik-reverse-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielm%2Ftraefik-reverse-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielm%2Ftraefik-reverse-proxy/lists"}