{"id":20661663,"url":"https://github.com/twatanabe/reverse-proxy","last_synced_at":"2025-12-24T04:35:02.044Z","repository":{"id":195945503,"uuid":"134522851","full_name":"twatanabe/reverse-proxy","owner":"twatanabe","description":"Traefik and docker-machine/compose powered reverse proxy Droplet server","archived":false,"fork":false,"pushed_at":"2019-01-15T07:18:36.000Z","size":2822,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T12:17:38.667Z","etag":null,"topics":["docker-compose","docker-machine","droplet","golang","traefik"],"latest_commit_sha":null,"homepage":"","language":"Go","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/twatanabe.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}},"created_at":"2018-05-23T06:20:20.000Z","updated_at":"2021-10-01T06:54:12.000Z","dependencies_parsed_at":"2023-09-20T08:35:36.702Z","dependency_job_id":null,"html_url":"https://github.com/twatanabe/reverse-proxy","commit_stats":null,"previous_names":["twatanabe/reverse-proxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twatanabe%2Freverse-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twatanabe%2Freverse-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twatanabe%2Freverse-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twatanabe%2Freverse-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twatanabe","download_url":"https://codeload.github.com/twatanabe/reverse-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242793039,"owners_count":20185949,"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-compose","docker-machine","droplet","golang","traefik"],"created_at":"2024-11-16T19:10:48.905Z","updated_at":"2025-12-24T04:35:02.018Z","avatar_url":"https://github.com/twatanabe.png","language":"Go","readme":"# Traefik Reverse Proxy\n\nUtilize Traefik secure routing to navigate sub-domain web access to individual web app containers. Essencially structures network layer that connects abc.domain.com and xyz.domain.com accesses to associated page.\n\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/code-badger/reverse-proxy/master/diagram.png\"\u003e\n\u003c/p\u003e\n\n\n### Requirements\n- [Digital Ocean](https://www.digitalocean.com/products/droplets/) - Linux Server Droplet\n- [Docker Compose](https://docs.docker.com/compose/overview/)\n- [Docker Machine](https://docs.docker.com/machine/overview/)\n- [Traefik](https://traefik.io/)\n- Web App Container for access test, here using Go-Hello and Python-Hello\n\n## How to use\n\nRun Traefik\n```\ndocker-machine use \u003cmachine-name\u003e\ncd traefik\ndocker-compose up\n```\n\nRun apps\n```\ncd go-hello\ndocker-compose up\n```\n\n## Ports\n\n- Traefik: 8080\n- GoHello: 3000\n- PythonHello: 5000\n\n## Apply Traefik Routing\n\nTraefik network will run on \u003ctraefik_service\u003e_\u003ctraefik_network\u003e network defined in the traefik docker-compose.yml. In this project it will run on the \"traefik_reverseproxy\" network.\nUse following config for routing apps using Traefik network\n```\nversion: '3'\nservices:\n    go-hello:\n        build: .\n        image: codebadger/go-hello\n        networks:\n            - reverseproxy\n            - default\n        labels:\n            - \"traefik.enable=true\"\n            - \"traefik.backend=go-hello\"\n            - \"traefik.frontend.rule=Host:go-hello.domain.com\"\n            - \"traefik.docker.network=traefik_reverseproxy\"\n        ports:\n        - \"3000:3000\"\n\nnetworks:\n    reverseproxy:\n        external:\n            name: traefik_reverseproxy\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwatanabe%2Freverse-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwatanabe%2Freverse-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwatanabe%2Freverse-proxy/lists"}