{"id":16675058,"url":"https://github.com/gpupo/httpd-gateway","last_synced_at":"2025-04-09T20:23:47.452Z","repository":{"id":41867094,"uuid":"169407056","full_name":"gpupo/httpd-gateway","owner":"gpupo","description":"Docker Composer with Nginx Proxy + Letsencrypt + Traefik","archived":false,"fork":false,"pushed_at":"2022-07-04T13:36:21.000Z","size":156,"stargazers_count":2,"open_issues_count":7,"forks_count":7,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-23T22:23:08.883Z","etag":null,"topics":["docker","letsencrypt","nginx","traefik"],"latest_commit_sha":null,"homepage":"http://opensource.gpupo.com/httpd-gateway/","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/gpupo.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}},"created_at":"2019-02-06T13:04:19.000Z","updated_at":"2022-07-04T13:36:26.000Z","dependencies_parsed_at":"2022-09-16T02:11:26.715Z","dependency_job_id":null,"html_url":"https://github.com/gpupo/httpd-gateway","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpupo%2Fhttpd-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpupo%2Fhttpd-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpupo%2Fhttpd-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpupo%2Fhttpd-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpupo","download_url":"https://codeload.github.com/gpupo/httpd-gateway/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248105186,"owners_count":21048483,"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","letsencrypt","nginx","traefik"],"created_at":"2024-10-12T12:45:21.951Z","updated_at":"2025-04-09T20:23:47.432Z","avatar_url":"https://github.com/gpupo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# httpd-gateway\n\n[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/gpupo/httpd-gateway)\n\n![mermaid-diagram](Resources/mermaid-diagram.svg?raw=true)\n\nComponents \n\n* https://github.com/nginx-proxy/nginx-proxy/\n* https://github.com/nginx-proxy/acme-companion\n\n\n## Install\n\n    git clone https://github.com/gpupo/httpd-gateway.git;\n\n    cd httpd-gateway;\n\n    make setup;\n\n## Usage\n\nStart server\n\n    make start;\n\nStart server [Sem proxy server]\n\n    make boot@alone;\n\nStop server\n\n    make stop;\n\nOther commands:\n\n    make help\n\n## Configure new domains\n\nIn each App, the Docker configuration service of the webserver must include the information of the domain for which it will be responsible and then connect to the nginx-proxy network.\n\nYou can use webservers other than NGINX and you do not need to open the webserver port publicly, just expose it.\n\n### Examples\n\nWebserver with **HTTP** on port 80\n\n```\nversion: '3.3'\n#see https://www.openproject.org/docker/\nservices:\n    openproject:\n        image: openproject/community:8\n        expose:\n            - 80\n        environment:\n            - VIRTUAL_HOST=openproject.foo.bar\n            - VIRTUAL_PORT=80\n        networks:\n            - default\nnetworks:\n    default:\n        external:\n            name: frontendNetwork\n```\n\nWebserver with **HTTPS** on port 443\n\n```\nversion: '3.3'\n#see https://hub.docker.com/r/linuxserver/pydio/\nservices:\n    pydio:\n        image: linuxserver/pydio\n        expose:\n            - 443\n        environment:\n            - VIRTUAL_HOST=pydio.foo.bar\n            - VIRTUAL_PROTO=https\n            - VIRTUAL_PORT=443\n        networks:\n            - default\nnetworks:\n    default:\n        external:\n            name: frontendNetwork\n```\n\n\n## Keep domais up\n\nEdit ~/stage/config and include your domains\n\nPut your Apps at ~/stage/${DOMAIN}/current and run ``make start`` or ``bin/up-stages.sh``\n\n## Keep domais up after an update\n\nsudo yum update -y \u0026\u0026 cd ~/httpd-gateway \u0026\u0026 make start\n\n\n### Crontab (at boot)\n\nSetup log file\n\n  sudo touch /var/log/httpd-gateway;\n  sudo chmod 666 /var/log/httpd-gateway;\n\nAdd to crontab\n\n  @reboot ~/httpd-gateway/boot \u003e\u003e /var/log/httpd-gateway 2\u003e\u00261\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpupo%2Fhttpd-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpupo%2Fhttpd-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpupo%2Fhttpd-gateway/lists"}