{"id":28528414,"url":"https://github.com/dokku/service-proxy","last_synced_at":"2025-07-06T20:32:06.218Z","repository":{"id":47151926,"uuid":"405298720","full_name":"dokku/service-proxy","owner":"dokku","description":"An app that can be used to proxy to a datastore service's web ui","archived":false,"fork":false,"pushed_at":"2025-06-08T03:18:19.000Z","size":2824,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-19T13:31:18.987Z","etag":null,"topics":["docker","docker-image","proxy","tcp-proxy"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dokku.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,"zenodo":null},"funding":{"github":"dokku","open_collective":"dokku","patreon":"dokku"}},"created_at":"2021-09-11T06:06:53.000Z","updated_at":"2025-06-08T03:18:21.000Z","dependencies_parsed_at":"2023-12-18T06:00:34.461Z","dependency_job_id":"2dd1158b-8d7f-4c87-a448-38eaa4592b13","html_url":"https://github.com/dokku/service-proxy","commit_stats":{"total_commits":90,"total_committers":2,"mean_commits":45.0,"dds":"0.30000000000000004","last_synced_commit":"7be47586a47df1f0a3b1cc09445afa38f96ae621"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/dokku/service-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fservice-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fservice-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fservice-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fservice-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dokku","download_url":"https://codeload.github.com/dokku/service-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fservice-proxy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261578680,"owners_count":23179795,"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-image","proxy","tcp-proxy"],"created_at":"2025-06-09T12:41:44.143Z","updated_at":"2025-07-06T20:32:06.213Z","avatar_url":"https://github.com/dokku.png","language":"Shell","funding_links":["https://github.com/sponsors/dokku","https://opencollective.com/dokku","https://patreon.com/dokku"],"categories":[],"sub_categories":[],"readme":"# service-proxy\n\n[![dokku/service-proxy](http://dockeri.co/image/dokku/service-proxy)](https://hub.docker.com/r/dokku/service-proxy)\n\nAn app that can be provisioned on Dokku to provide a proxy between the service's web ui and your browser.\n\n## Usage\n\n## Supported Services\n\n- [clickhouse](https://github.com/dokku/dokku-clickhouse): port `8123`\n- [couchdb](https://github.com/dokku/dokku-couchdb): port `5984`\n- [elasticsearch](https://github.com/dokku/dokku-elasticsearch): port `9200`\n- [graphite](https://github.com/dokku/dokku-graphite): port `80`\n- [meilisearch](https://github.com/dokku/dokku-meilisearch): port `7700`\n- [pushpin](https://github.com/dokku/dokku-pushpin): port `7999`\n- [rabbitmq](https://github.com/dokku/dokku-rabbitmq): port `15672`\n- [rethinkdb](https://github.com/dokku/dokku-rethinkdb): port `8080`\n- [solr](https://github.com/dokku/dokku-solr): port `8983`\n\n### Deploying\n\nIn this example, a `rabbitmq` service named `lollipop` will be exposed under the app `service-proxy`.\n\nTo start, we'll need to create an app for the service proxy.\n\n```shell\ndokku apps:create service-proxy\n```\n\nIn order to proxy to a given service, some config variables need to be provisioned.\n\nAt a minimum, both `SERVICE_NAME` and `SERVICE_TYPE` should be set where:\n\n- `SERVICE_NAME`: the name of the service, eg. `my-database`\n- `SERVICE_TYPE`: the type of the service, eg. `rabbitmq` (this is the command prefix)\n\nThese will be used to infer the host/port to fetch. For the above example, the host would be `dokku-rabbitmq-my-database`.\n\nThe port will be infered to be the _first_ port exposed by the service. This may be incorrect, especially when the first port is a tcp port for communication to the datastore itself. In those cases, a `SERVICE_PORT` environment variable can be set to force a specific port number.\n\nIn the following example, we configure for rabbitmq:\n\n```shell\ndokku config:set service-proxy SERVICE_NAME=queue SERVICE_TYPE=rabbitmq SERVICE_PORT=15672\n```\n\nNext, we'll create the service itself and link it to our app:\n\n```shell\n# create the rabbitmq service\ndokku rabbitmq:create queue\n\n# link the rabbitmq service\ndokku rabbitmq:link queue service-proxy\n```\n\nFinally, the service-proxy can be deployed, after which the service will be available on the app's url.\n\n```shell\ndokku git:from-image service-proxy dokku/service-proxy:latest\n```\n\nSince the service proxy is treated as an app, it can be configured to use any app-related setting. For example, letsencrypt can be used to provision SSL certificates.\n\n```shell\ndokku letsencrypt:enable service-proxy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdokku%2Fservice-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdokku%2Fservice-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdokku%2Fservice-proxy/lists"}