1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

Add a per setup unique machine-id (#257)

* add mount for machine-id
* services should check the availability of the machine id before starting
* add a note to the readme
* add new mounts to the multiserver example
* add dockerize to kweb
* fix meet demo
This commit is contained in:
Felix Bartels
2019-11-19 13:55:11 +01:00
committed by GitHub
parent 753dc21eae
commit ead0acfdb0
15 changed files with 281 additions and 185 deletions
+5
View File
@@ -22,6 +22,11 @@ ENV KWEBD_DNS_KDAV="kopano_kdav"
ENV KWEBD_DNS_GRAPI="kopano_grapi"
ENV KWEBD_DNS_ICAL="kopano_ical"
ENV DOCKERIZE_VERSION v0.6.1
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
COPY wrapper.sh /usr/local/bin
COPY kweb.cfg /etc/kweb.cfg
+5
View File
@@ -2,4 +2,9 @@
set -e
# services need to be aware of the machine-id
dockerize \
-wait file:///etc/machine-id \
-wait file:///var/lib/dbus/machine-id
exec kwebd caddy -conf /etc/kweb.cfg -agree