First semiworking iteration

Container can be started with empty data directory.
After using docker exec the commands from the NOTES file can be
used to create a first cert and additional certs after that.
This commit is contained in:
2016-04-06 20:26:08 +02:00
parent 574c94b8ac
commit a57fa08340
7 changed files with 204 additions and 9 deletions

12
NOTES Normal file
View File

@@ -0,0 +1,12 @@
# Nach start von haproxy ohne ssl:
/letsencrypt/letsencrypt-auto --config letencrypt.conf certonly -d lusiardi.de
cat /data/config/live/lusiardi.de/fullchain.pem /data/config/live/lusiardi.de/privkey.pem > /data/haproxy/cert.pem
# Nach start von haproxy mit ssl:
/letsencrypt/letsencrypt-auto --config letencrypt.conf certonly --standalone-supported-challenges http-01 --http-01-port 54321 --expand -d lusiardi.de -d ps.lusiardi.de
cat /data/config/live/lusiardi.de/fullchain.pem /data/config/live/lusiardi.de/privkey.pem > /data/haproxy/cert.pem
# aufräumen
rm -rf /data/*