docker-letsencrypt-simp_le

Docker container for the "simp_le" Let's encrypt implementation running on Alpine Linux

  • 所有者: m3adow/docker-letsencrypt-simp_le
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Alpine Linux simp_le Docker container

This is a containerfile for the "simp_le" Let's encrypt implementation by kuba (https://github.com/kuba/simp_le). It's running on Alpine Linux and is only around 90MB in size.
It was inspired by katta/sim_le but has a couple of improvements.

Certs are saved in /certs so you should mount a persistent volume there.

Simple run

If you only want to get some certificates, simply run the container like this:

docker run -ti -p 80:80 -v /etc/nginx/certs:/certs \
m3adow/letsencrypt-simp_le -f account_key.json  \
-f chain.pem -f cert.pem -f key.pem --email a@example.org \
-d adminswerk.de -d test.adminswerk.de

Repo Refresh

simp_le is refreshed from the repos master branch at container start. This normally takes not more than one second and ensures it's always up to date. If you want to disable this functionality, start the container with the environment variable SKIP_REFRESH set. It doesn't matter which value it contains as long as it's not null.

docker run -ti -p 80:80 -v /etc/nginx/certs:/certs -e "SKIP_REFRESH=1" \
	m3adow/letsencrypt-simp_le -f account_key.json  -f chain.pem \
	-f cert.pem -f key.pem --email a@example.org -d adminswerk.de

Entrypoint Override

By default the container starts with an entrypoint-script which passes all arguments you start the container with to simp_le.py. If you want to start another application, e.g. for debugging or to build something ontop the container, you have to set the environment variable OVERRIDE. Identical to SKIP_REFRESH, it only needs to be not null, the value doesn't matter. OVERRIDE implies SKIP_REFRESH (but not the other way around), so no need to define both envs.

docker run -ti -p 80:80 -v /etc/nginx/certs:/certs -e "OVERRIDE=1" \
	m3adow/letsencrypt-simp_le sh

主要指標

概覽
名稱與所有者m3adow/docker-letsencrypt-simp_le
主編程語言Shell
編程語言Shell (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2015-12-20 10:40:30
推送於2017-01-19 19:11:11
最后一次提交2017-01-19 20:11:10
發布數0
用户参与
星數7
關注者數3
派生數6
提交數12
已啟用問題?
問題數3
打開的問題數0
拉請求數2
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?