{"id":18248152,"url":"https://github.com/stopka/docker_getssl","last_synced_at":"2025-04-08T19:50:59.130Z","repository":{"id":75836140,"uuid":"160258478","full_name":"Stopka/docker_getssl","owner":"Stopka","description":"Getssl script in docker","archived":false,"fork":false,"pushed_at":"2018-12-11T03:21:37.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T09:44:39.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Stopka.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}},"created_at":"2018-12-03T21:49:32.000Z","updated_at":"2018-12-11T03:21:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"a70228a9-977b-427c-8d9a-80822ceec761","html_url":"https://github.com/Stopka/docker_getssl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stopka%2Fdocker_getssl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stopka%2Fdocker_getssl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stopka%2Fdocker_getssl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stopka%2Fdocker_getssl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stopka","download_url":"https://codeload.github.com/Stopka/docker_getssl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247918523,"owners_count":21018039,"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":[],"created_at":"2024-11-05T09:36:01.518Z","updated_at":"2025-04-08T19:50:59.106Z","avatar_url":"https://github.com/Stopka.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GetSSL docker\nDocker implementation of [getssl script](https://github.com/srvrco/getssl). Script just obtains specified certificates with specified andditional SANS using ACME (LetsEncrypt) protocol. This container is made for http challenge.\n\n## Dependencies\nRunning http server with mounted and exposed acme challenge directory.\n\n## Environment\n### ACCOUNT_EMAIL\nSet an email address associated with your account\n```\nACCOUNT_EMAIL=youremail@domain.tld\n```\n\n### DOMAINS\nSpace separated list of domains. If a domain certificate shoud have additional SANs, you can add them after the main domain separated by comma. For example, following value creates two certificates, one for domains `foo.tld`, `www.foo.tld` and `m.foo.tld` and second for `bar.tld` and `www.bar.tld`\n```\nDOMAINS=foo.tld,www.foo.tld,m.foo.tld bar.tld,www.bar.tld\n```\n\n### RELOAD_CONTAINERS\nSpace separated list of containers to reload on after certificate renewal.\n```\nRELOAD_CONTAINERS=container1 container2\n```\n\n## Volumes\n### /root/.getssl\nDirectory must be writable. Here the script is storing all configuration data\n\n### /root/ssl\nDirectory must be writable. This is the output direcotry, where all certificates are exported in following structure:\n* _some.domain.name_\n  * `ca.crt` CA certificate chain\n  * `domain.crt` Domain certificate\n  * `domain.key` Domain private key\n  * `domain.pem` Domain bundle of all: key, certificate and CA chain\n  * `chain.crt` Domain bundle of certificates: certificate and CA chain\n  \n### /root/acme-challenge\nDirectory must be writable.  Here the script saves acme challenge token. A web server should mount this volume (read only is enaugh) and expose data in this directory publicly on url `validated.domain.tld/.well-known/acme-challenge/`\n\n### /var/run/docker.sock\nTo allow this container reload other containers, you must mount a docker socket here.\n\n## Compose example\n```\nversion: \"3.3\"\nservices:\n  getssl:\n    image: skorpils/getssl:latest\n    volumes:\n      - getssl-configs:/root/.getssl\n      - getssl-certs:/root/ssl\n      - getssl-acme:/root/acme-challenge\n      - /var/run/docker.sock:/var/run/docker.sock\n    environment:\n      - ACCOUNT_EMAIL=${GETSSL_EMAIL}\n      # comma separated SANs, space separated certs\n      - DOMAINS=${GETSSL_DOMAINS}\n      # space separated container names\n      - RELOAD_CONTAINERS=${GETSSL_CONTAINERS}\nvolumes:\n  getssl-configs:\n  getssl-acme:\n  getssl-certs:\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopka%2Fdocker_getssl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstopka%2Fdocker_getssl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopka%2Fdocker_getssl/lists"}