From 80e95f96da1f23153cba558ab45f448e7d8c3f8b Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 19 Sep 2017 14:55:07 +0200 Subject: [PATCH] add incron job --- Dockerfile | 12 ++++-------- README.md | 7 +------ rootfs/var/spool/incron/root | 1 + 3 files changed, 6 insertions(+), 14 deletions(-) create mode 100644 rootfs/var/spool/incron/root diff --git a/Dockerfile b/Dockerfile index 6ecfcd4..7ca9abf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,9 @@ -FROM registry.gitlab.com/thallian/docker-confd-env:lego +FROM registry.gitlab.com/thallian/docker-confd-env:master -ENV CERT_HOME /var/lib/murmur -ENV CERT_USER murmur - -RUN apk add --no-cache murmur icu-libs - -VOLUME /etc/ssl/murmur -VOLUME /var/lib/murmur/ +RUN apk add --no-cache murmur icu-libs incron ADD /rootfs / +VOLUME /etc/ssl/murmur /var/lib/murmur/ + EXPOSE 64738 diff --git a/README.md b/README.md index 9f20163..6cfaedc 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,4 @@ -Murmur server for [Mumble](https://wiki.mumble.info/wiki/Main_Page) which provisions -tls certificates through [Let's Encrypt](https://letsencrypt.org/) with -[lego](https://github.com/xenolf/lego). - -Take a look at the [base image](https://gitlab.com/thallian/docker-confd-env/tree/lego) -for the certificate configuration. +Murmur server for [Mumble](https://wiki.mumble.info/wiki/Main_Page) # Volumes - `/var/lib/murmur` diff --git a/rootfs/var/spool/incron/root b/rootfs/var/spool/incron/root new file mode 100644 index 0000000..1e2cddf --- /dev/null +++ b/rootfs/var/spool/incron/root @@ -0,0 +1 @@ +/etc/ssl/murmur IN_MODIFY,IN_CLOSE_WRITE /bin/restart-services