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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user