{"id":18870696,"url":"https://github.com/mortonprod/nginx-certbot","last_synced_at":"2026-04-14T06:04:41.696Z","repository":{"id":144402122,"uuid":"96702434","full_name":"mortonprod/nginx-certbot","owner":"mortonprod","description":"A simple way to deploy node servers using nginx, cerbot and docker.","archived":false,"fork":false,"pushed_at":"2017-10-26T16:49:05.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T23:50:22.573Z","etag":null,"topics":["certbot","docker","nginx","nodejs"],"latest_commit_sha":null,"homepage":"https://alexandermorton.co.uk","language":"Shell","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/mortonprod.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-09T18:13:34.000Z","updated_at":"2017-09-20T08:33:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"33bbeca0-920f-4b12-b8a0-1d536165d8be","html_url":"https://github.com/mortonprod/nginx-certbot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mortonprod%2Fnginx-certbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mortonprod%2Fnginx-certbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mortonprod%2Fnginx-certbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mortonprod%2Fnginx-certbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mortonprod","download_url":"https://codeload.github.com/mortonprod/nginx-certbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239817147,"owners_count":19701875,"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":["certbot","docker","nginx","nodejs"],"created_at":"2024-11-08T05:22:10.507Z","updated_at":"2026-02-14T20:30:15.995Z","avatar_url":"https://github.com/mortonprod.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nginx-certbot\n\nBased on repository you can find here\n[Based on](https://bitbucket.org/automationlogic/le-docker-compose/overview)\n\n* Add networks so app and nginx compose fill separate completely separated.\n* Use DNS host name in nginx so we can stop and start containers to different IP addresses\n\n\n## Running\n* Must start app and check component lives in app__default network.\n\n* Build and run nginx-certbox\n```\ndocker-compose build \ndocker-compose up\n``` \n\nThis will make certbot call through nginx to get cert. Once cert arrived your want reload config so we redirect to https when http requested.\nOld config is deleted since we will not need ti again.\nAny new app added should run in a a new network(default with docker-compose up)),connect nginx to new network,  update nginx config, then restart nginx.\n\nTo connect container to new network.\n```\ndocker network connect multi-host-network container1\n```\nTo restart nginx find process and run \n\n```\ndocker exec ledockercompose_nginx_1 nginx -s reload\n```\n\n\nTo update cert rerun certbot \n\n```\ndocker-compose run letsencrypt\n```\n\nand reload nginx\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmortonprod%2Fnginx-certbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmortonprod%2Fnginx-certbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmortonprod%2Fnginx-certbot/lists"}