added multi-domain and s6
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user