{"id":13554636,"url":"https://github.com/BretFisher/compose-dev-tls","last_synced_at":"2025-04-03T07:32:07.542Z","repository":{"id":148844365,"uuid":"287376310","full_name":"BretFisher/compose-dev-tls","owner":"BretFisher","description":"Easy Traefik TLS proxy plus certificate generation for Docker Compose local development use","archived":false,"fork":false,"pushed_at":"2023-08-25T22:51:16.000Z","size":155,"stargazers_count":129,"open_issues_count":6,"forks_count":25,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-02T23:33:10.646Z","etag":null,"topics":["certificates","compose","developer-tools","docker","docker-compose","proxy","ssl-certificates","tls","traefik"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BretFisher.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},"funding":{"custom":"bretfisher.com/members"}},"created_at":"2020-08-13T20:42:52.000Z","updated_at":"2025-03-14T01:00:09.000Z","dependencies_parsed_at":"2024-01-21T20:28:32.014Z","dependency_job_id":"887b495f-3848-47ad-a31b-56cd7ba549d7","html_url":"https://github.com/BretFisher/compose-dev-tls","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/BretFisher%2Fcompose-dev-tls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BretFisher%2Fcompose-dev-tls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BretFisher%2Fcompose-dev-tls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BretFisher%2Fcompose-dev-tls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BretFisher","download_url":"https://codeload.github.com/BretFisher/compose-dev-tls/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246956615,"owners_count":20860466,"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":["certificates","compose","developer-tools","docker","docker-compose","proxy","ssl-certificates","tls","traefik"],"created_at":"2024-08-01T12:02:51.775Z","updated_at":"2025-04-03T07:32:07.205Z","avatar_url":"https://github.com/BretFisher.png","language":"Shell","funding_links":["bretfisher.com/members"],"categories":["Shell"],"sub_categories":[],"readme":"# Docker Compose + Traefik TLS Proxy + Self-signed Wildcard Cert\n\nThis is a template of the solution I've used in various forms for years for local development. It's easy, flexible, and gives me a near magical solution for always running HTTP apps through docker-compose with TLS, any DNS name, all on a single port with host-header SNI routing via Traefik proxy.\n\n## Why would you want this?\n\n- You want to use TLS locally in HTTP development\n- You would like a single proxy app to all of your containers (microservices, etc.) on 80/443\n- You'd like to use domain names for all your compose services, like https://api.bret.lol without touching /etc/hosts\n- You'd like a trusted certificate in your browsers for local dev and test of any app hostname (api, www, blog, etc.)\n- You'd like this to happen consistently across all your dev projects\n\nInspired by [this great Traefik + Compose walkthrough](https://github.com/DoTheEvo/Traefik-v2-examples)\n\n![Traffic diagram](network-diagram-compose-tls-traefik.png)\n\n## Overall Steps to Implement\n\n1. Decide on your URL scheme like `*.nip.io`, `*.localhost`, `*.vcap.me`, or even `*.bret.lol`\n2. Create and install a self-signed wildcard cert for your browser with `cert.sh`\n3. Add this `docker-compose.yaml` and `traefik.yaml` to your projects, and replace the nginx/httpd example compose services with your apps\n\n## Decide on Your URL Scheme\n\nTODO\n\n## Create and Install a Self-Signed Wildcard Certificate\n\nTODO\n\n## Add Compose+Traefik YAML to Your Projects\n\nTODO\n\n## What is bret.lol\n\nIt's just a domain I maintain that responds to every hostname *.bret.lol with 127.0.0.1 (localhost). You're welcome to use it, or use one of the others mentioned above.\n\n## License\n\nThis repository uses [The Unlicense](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBretFisher%2Fcompose-dev-tls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBretFisher%2Fcompose-dev-tls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBretFisher%2Fcompose-dev-tls/lists"}