added kopano & postifx configuration files

This commit is contained in:
Andreas Balogh
2022-01-21 21:24:34 +00:00
parent f20744f49e
commit 521b52e668
57 changed files with 4174 additions and 13 deletions

18
kopano.dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# FROM ubuntu:20.04
FROM tozd/runit:ubuntu-focal
# declaration section
ARG MAIL_DOMAIN=zntrl.de
EXPOSE 80 2003
# build section
RUN apt update -y
RUN DEBIAN_FRONTEND=noninteractive TZ=Europe/Berlin apt-get install -y tzdata
# kopano
WORKDIR /root
COPY dist/core-11.0.2.50.507cbae-Ubuntu_20.04-amd64.tar.gz .
COPY dist/webapp-6.0.0.57.1049268-Ubuntu_20.04-all.tar.gz .
COPY deploy-kopano.sh .
RUN ./deploy-kopano.sh
# https://documentation.kopano.io/kopanocore_administrator_manual/configure_kc_components.html#configure-kopano-dagent-for-delivery-via-unix-socket
# create run scripts in etc/service
COPY ./etc etc
# CMD ["/usr/sbin/kopano-server", "-F", "-c", "/etc/kopano/server.cfg"]