added multi-domain and s6

This commit is contained in:
Andreas Balogh committed 2022-07-16 20:31:42 +00:00
1 parent ebf96981a8
commit 9cd74b69ed
57 files changed
+13 -16

No files matched your search

View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View File
Whitespace-only changes.
+13 -9
View File
@@ -1,13 +1,11 @@
# FROM ubuntu:20.04
FROM tozd/runit:ubuntu-focal
# declaration section
ARG MAIL_DOMAIN=zntrl.de
EXPOSE 80 443
EXPOSE 2003
EXPOSE 993
EXPOSE 8443
# build section
# kopano
# build s6 process manager
# build postfix
# build postgres
# build apache
# build z-push
# build 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 .
@@ -15,6 +13,12 @@ COPY deploy-kopano.sh .
RUN ./deploy-kopano.sh
COPY service /etc/service
# https://documentation.kopano.io/kopanocore_administrator_manual/configure_kc_components.html#configure-kopano-dagent-for-delivery-via-unix-socket
# declaration section
ARG MAIL_DOMAIN=zntrl.de
EXPOSE 80 443
EXPOSE 2003
EXPOSE 993
EXPOSE 8443
# create run scripts in etc/service
# CMD ["/usr/sbin/kopano-server", "-F", "-c", "/etc/kopano/server.cfg"]
ENTRYPOINT [""]
ENTRYPOINT ["init.sh"]
-4
View File
@@ -1,4 +0,0 @@
#!/usr/bin/bash
docker run -d \
-p 80:80 \
kopano:1
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash -e
exec /usr/sbin/kopano-server -c /etc/kopano/server.cfg 2>&1