{"id":20435901,"url":"https://github.com/andyneff/docker-letsencrypt","last_synced_at":"2026-03-09T15:05:28.894Z","repository":{"id":90969341,"uuid":"89535468","full_name":"andyneff/docker-letsencrypt","owner":"andyneff","description":"Simple docker for registering and renewing letsencrypt ssl certs (standalone certonly)","archived":false,"fork":false,"pushed_at":"2019-06-21T12:27:37.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T06:43:42.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/andyneff.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-04-26T23:27:49.000Z","updated_at":"2019-06-21T12:27:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"988c9f20-db61-49c9-9639-25ec629a5ec7","html_url":"https://github.com/andyneff/docker-letsencrypt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andyneff/docker-letsencrypt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fdocker-letsencrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fdocker-letsencrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fdocker-letsencrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fdocker-letsencrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyneff","download_url":"https://codeload.github.com/andyneff/docker-letsencrypt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fdocker-letsencrypt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30299919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-15T08:38:21.645Z","updated_at":"2026-03-09T15:05:28.876Z","avatar_url":"https://github.com/andyneff.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"[letsencrypt]: https://letsencrypt.org/\n\n[![letsencrypt](https://raw.githubusercontent.com/letsencrypt/website/dba3d7067c54a6f25f5f9f1cd3e7886edfb77ad1/static/images/le-logo-wide.png)][letsencrypt]\n\n## Usage\n\n*Development trick*: Always add `--staging` to all commands to use the fake\nLet's Encrypt test server, until you have everything working. This could save\nyou from hitting rate limits, and potentially making you wait a week for them\nto reset.\n\nFor the first time (or to add additional domains)\n\n```bash\ndocker-compose run --service-ports letsencrypt certonly --standalone --email \u003cemail\u003e -d \u003cURL\u003e ...\n```\n\nFor a non-interactive run the first time\n\n```bash\ndocker-compose run --service-ports letsencrypt certonly --standalone --agree-tos \\\n  --no-eff-email --email \u003cemail\u003e -d \u003cURL\u003e ...\n```\n\nAll certbot commands can be executed with `docker-compose run letsencrypt`, for\nexample `docker-compose run --service-ports letsencrypt renew --force-renewal`\n\n---\n\nTo start the daemon to continue renewing, run\n\n```bash\ndocker-compose -f docker-compose.yml up -d\n```\n\nAnd assuming nothing breaks, the service should run forever. It will resume on\ndocker restarts/upgrades and computer reboot.\n\n## Manual renewal\n\nSometimes, a certificate or gateway proxy will be forgotten and the certificate\nwill expire and no longer work. This can make renewing using the tls-sni-01\nchallenge... challenging. Instead of starting over, reconfiguring your network,\nhere are a few trick to get your certificate working again:\n\n1. Don't forget `--staging` until you get everything working. If you have a\n   near expired valid cert, you will need to add the `--dry-run` or\n   `--break-my-certs` flag. I suggest always using `--dry-run` with staging, or\n   else your setting will become permanently set for staging.\n2. `--authenticator standalone`. If you used another authenticator (such as\n   webroot) in the initial key setup, you will need to override this once until\n   the key is functioning again.\n3. `--preferred-challenges http-01`. If the gateway has an out of date ssl cert,\n   or doesn't even use ssl, this will force it to use http only for the\n   challenge. Other options at this time are: tls-sni-01 (default), http-01, and\n   dns-01 (not supported by standalone)\n\nUpon successful test, these values will be written to the renewal configuration.\nTo change them back, run a `--force-renew` with them set back to how you want\nthem.\n\n## Customize\n\nThe .env file contains the following settings:\n\n- `HTTPS_PORT` - Default 443. If you need to use a port other than 443 on the\nhost, change this. However your router/network must make it port 443 by the\ntime it hits the internet, or else letsencrypt won't work\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyneff%2Fdocker-letsencrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyneff%2Fdocker-letsencrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyneff%2Fdocker-letsencrypt/lists"}