added multi-domain and s6
This commit is contained in:
1 parent
ebf96981a8
commit
9cd74b69ed
57 files changed
+13
-16
No files matched your search
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.
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.
Whitespace-only changes.
+13
-9
@@ -1,13 +1,11 @@
|
|||||||
# FROM ubuntu:20.04
|
# FROM ubuntu:20.04
|
||||||
FROM tozd/runit:ubuntu-focal
|
FROM tozd/runit:ubuntu-focal
|
||||||
# declaration section
|
# build s6 process manager
|
||||||
ARG MAIL_DOMAIN=zntrl.de
|
# build postfix
|
||||||
EXPOSE 80 443
|
# build postgres
|
||||||
EXPOSE 2003
|
# build apache
|
||||||
EXPOSE 993
|
# build z-push
|
||||||
EXPOSE 8443
|
# build kopano
|
||||||
# build section
|
|
||||||
# kopano
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
COPY dist/core-11.0.2.50.507cbae-Ubuntu_20.04-amd64.tar.gz .
|
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 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
|
RUN ./deploy-kopano.sh
|
||||||
COPY service /etc/service
|
COPY service /etc/service
|
||||||
# https://documentation.kopano.io/kopanocore_administrator_manual/configure_kc_components.html#configure-kopano-dagent-for-delivery-via-unix-socket
|
# 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
|
# create run scripts in etc/service
|
||||||
# CMD ["/usr/sbin/kopano-server", "-F", "-c", "/etc/kopano/server.cfg"]
|
# CMD ["/usr/sbin/kopano-server", "-F", "-c", "/etc/kopano/server.cfg"]
|
||||||
ENTRYPOINT [""]
|
ENTRYPOINT ["init.sh"]
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash -e
|
|
||||||
|
|
||||||
exec /usr/sbin/kopano-server -c /etc/kopano/server.cfg 2>&1
|
|
||||||
Reference in new issue
Block a user