{"id":15516056,"url":"https://github.com/bfirsh/docker-cloud-subdomains","last_synced_at":"2025-02-28T16:16:03.860Z","repository":{"id":66636630,"uuid":"59866946","full_name":"bfirsh/docker-cloud-subdomains","owner":"bfirsh","description":"Automatic Heroku-style subdomains for Docker Cloud","archived":false,"fork":false,"pushed_at":"2016-11-01T16:54:10.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-26T12:09:06.735Z","etag":null,"topics":["docker-cloud"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bfirsh.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":"2016-05-27T22:44:46.000Z","updated_at":"2019-10-19T03:21:41.000Z","dependencies_parsed_at":"2023-05-25T15:45:25.380Z","dependency_job_id":null,"html_url":"https://github.com/bfirsh/docker-cloud-subdomains","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"b5753b0970cd266a921e4cefe423f3addbacd399"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfirsh%2Fdocker-cloud-subdomains","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfirsh%2Fdocker-cloud-subdomains/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfirsh%2Fdocker-cloud-subdomains/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfirsh%2Fdocker-cloud-subdomains/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfirsh","download_url":"https://codeload.github.com/bfirsh/docker-cloud-subdomains/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241180411,"owners_count":19923226,"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-cloud"],"created_at":"2024-10-02T10:05:31.694Z","updated_at":"2025-02-28T16:16:03.769Z","avatar_url":"https://github.com/bfirsh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-cloud-subdomains\n\nA Docker Cloud app which automatically makes other apps in your Docker Cloud account accessible as Heroku-style subdomains (e.g. myapp.example.com).\n\n## Getting started\n\n1. Create a stack on Docker Cloud using this stack file, filling in your Docker Cloud details and setting `DOCKERCLOUD_SUBDOMAINS_DOMAIN` to the domain name you want subdomains to appear on:\n\n        traefik:\n          image: traefik\n          command: --web\n          ports:\n            - \"80:80\"\n        updater:\n          image: bfirsh/docker-cloud-subdomains\n          environment:\n            - \"DOCKERCLOUD_SUBDOMAINS_DOMAIN=example.com\"\n            - \"DOCKERCLOUD_USER\"\n            - \"DOCKERCLOUD_APIKEY\"\n          links:\n            - traefik\n\n2. Get the address of the traefik service that you have just created in Docker Cloud (something ending with `.svc.dockerapp.io`). Set up a wildcard CNAME on the domain you want to use and point it at the service address.\n\n3. You can now set the label `sh.fir.subdomains.subdomain` and `sh.fir.subdomains.port` on containers in your Docker Cloud apps to to expose ports under a particular subdomain. For example, you might put something like this in your stack file to make port 80 available at `myapp.example.com`:\n\n        web:\n           image: oscorp/myapp\n           labels:\n             - \"sh.fir.subdomains.subdomain=myapp\"\n             - \"sh.fir.subdomains.port=80\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfirsh%2Fdocker-cloud-subdomains","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfirsh%2Fdocker-cloud-subdomains","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfirsh%2Fdocker-cloud-subdomains/lists"}