diff --git a/Dockerfile b/Dockerfile index 7ca9abf..fb4b65f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM registry.gitlab.com/thallian/docker-confd-env:master +ENV CERT_HOME /etc/ssl/murmur + RUN apk add --no-cache murmur icu-libs incron ADD /rootfs / diff --git a/README.md b/README.md index 6cfaedc..0ff1a8a 100644 --- a/README.md +++ b/README.md @@ -24,15 +24,10 @@ Maximum bandwidth (in bits per second) clients are allowed to send speech at. Maximum number of concurrent clients allowed. -## CERT_NAME +## CERT_DOMAIN - default: fullchain.pem -Name of the certificate file. - -## KEY_NAME -- default: privkey.pem - -Name of the key file. +Name of the certificate domain. # Ports - 64738 diff --git a/rootfs/etc/confd/templates/murmur.ini.tmpl b/rootfs/etc/confd/templates/murmur.ini.tmpl index 955cb4a..a8fe6f8 100644 --- a/rootfs/etc/confd/templates/murmur.ini.tmpl +++ b/rootfs/etc/confd/templates/murmur.ini.tmpl @@ -157,8 +157,8 @@ users={{getenv "MAX_USERS" "20"}} # If you have a proper SSL certificate, you can provide the filenames here. # Otherwise, Murmur will create it's own certificate automatically. -sslCert={{getenv "CERT_HOME"}}/.lego/certificates/{{getenv "CERT_DOMAIN"}}.crt -sslKey={{getenv "CERT_HOME"}}/.lego/certificates/{{getenv "CERT_DOMAIN"}}.key +sslCert={{getenv "CERT_HOME"}}/{{getenv "CERT_DOMAIN"}}.crt +sslKey={{getenv "CERT_HOME"}}/{{getenv "CERT_DOMAIN"}}.key # The sslCiphers option chooses the cipher suites to make available for use # in SSL/TLS. This option is server-wide, and cannot be set on a