[mailcow] Move ejabberd site to last available site

This commit is contained in:
andryyy
2021-02-12 19:26:49 +01:00
parent 63160890e0
commit 8c6b512f05
8 changed files with 26 additions and 18 deletions

View File

@@ -71,6 +71,7 @@ cat <<EOF > /ejabberd/ejabberd_macros.yml
# Autogenerated by mailcow
define_macro:
'MAILCOW_HOSTNAME': "${MAILCOW_HOSTNAME}"
'EJABBERD_HTTPS': ${XMPP_HTTPS_PORT}
EOF
# Set open_basedir

View File

@@ -1,12 +1,12 @@
FROM php:7.4-fpm-alpine3.11
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
ENV APCU_PECL 5.1.18
ENV APCU_PECL 5.1.19
ENV IMAGICK_PECL 3.4.4
# Mailparse is pulled from master branch
#ENV MAILPARSE_PECL 3.0.2
ENV MEMCACHED_PECL 3.1.5
ENV REDIS_PECL 5.3.1
ENV REDIS_PECL 5.3.3
RUN apk add -U --no-cache autoconf \
aspell-dev \

View File

@@ -172,8 +172,8 @@ fi
# Fix permissions for global filters
chown -R 82:82 /global_sieve/*
[[ ! -f /etc/nginx/conf.d/ejabberd.conf ]] && echo '# Autogenerated by mailcow' > /etc/nginx/conf.d/ejabberd.conf
chown 82:82 /etc/nginx/conf.d/ejabberd.conf
[[ ! -f /etc/nginx/conf.d/ZZZ-ejabberd.conf ]] && echo '# Autogenerated by mailcow' > /etc/nginx/conf.d/ZZZ-ejabberd.conf
chown 82:82 /etc/nginx/conf.d/ZZZ-ejabberd.conf
# Run hooks
for file in /hooks/*; do