Skip to content
Snippets Groups Projects
Commit 6e06faa9 authored by Jens Sandmann's avatar Jens Sandmann
Browse files

mailcow: deactivate ejabberd as we don't need or want it

since mailcow now comes with a default ejabbered we need to deactivate
it. That means: use the exit container, alter the config so it doesn't
try to use the ports from our prosody. Finally set a alias on trhe nginx
because it won't start if it doesn't find it's ejabberd.
parent ca3f042c
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
- "{{ basedir }}/data/postfix" - "{{ basedir }}/data/postfix"
- "{{ basedir }}/data/sogo-web" - "{{ basedir }}/data/sogo-web"
- "{{ basedir }}/data/sogo-userdata-backup" - "{{ basedir }}/data/sogo-userdata-backup"
- "{{ basedir }}/data/xmpp-vol-1"
- "{{ basedir }}/data/xmpp-upload-vol-1"
# mailmann # mailmann
- "{{ basedir }}/data/mailman-core" - "{{ basedir }}/data/mailman-core"
- "{{ basedir }}/data/mailman-core/var" - "{{ basedir }}/data/mailman-core/var"
......
...@@ -26,7 +26,7 @@ services: ...@@ -26,7 +26,7 @@ services:
postfix-exporter: postfix-exporter:
image: unikum/postfix_exporter:latest image: unikum/postfix_exporter:latest
restart: always restart: always
depends_on: depends_on:
- postfix-mailcow - postfix-mailcow
ports: ports:
- "{{ int_ip4 }}:9154:9154" - "{{ int_ip4 }}:9154:9154"
...@@ -48,12 +48,13 @@ services: ...@@ -48,12 +48,13 @@ services:
aliases: aliases:
- nginx - nginx
- sogo - sogo
- ejabberd
web: web:
aliases: aliases:
- mailcow - mailcow
# Mailman konfiguration in Postfix-Container mounten # Mailman konfiguration in Postfix-Container mounten
# postfix ans mail netzwerk um mit mailman zu kommunizieren # postfix ans mail netzwerk um mit mailman zu kommunizieren
postfix-mailcow: postfix-mailcow:
...@@ -82,6 +83,10 @@ services: ...@@ -82,6 +83,10 @@ services:
image: stakater/exit-container image: stakater/exit-container
restart: 'no' restart: 'no'
ejabberd-mailcow:
image: stakater/exit-container
restart: 'no'
# Externes Netzwerk # Externes Netzwerk
...@@ -163,3 +168,15 @@ volumes: ...@@ -163,3 +168,15 @@ volumes:
o: bind o: bind
type: none type: none
device: "{{ basedir }}/data/sogo-userdata-backup" device: "{{ basedir }}/data/sogo-userdata-backup"
xmpp-vol-1:
driver: local
driver_opts:
o: bind
type: none
device: "{{ basedir }}/data/xmpp-vol-1"
xmpp-upload-vol-1:
driver: local
driver_opts:
o: bind
type: none
device: "{{ basedir }}/data/xmpp-upload-vol-1"
...@@ -54,6 +54,12 @@ SQL_PORT=127.0.0.1:23306 ...@@ -54,6 +54,12 @@ SQL_PORT=127.0.0.1:23306
SOLR_PORT=127.0.0.1:18983 SOLR_PORT=127.0.0.1:18983
REDIS_PORT=127.0.0.1:7654 REDIS_PORT=127.0.0.1:7654
# bind jabber to nonstandard port because we already have a jabber running
# no (vig) risk as we use the exit container
XMPP_C2S_PORT=127:0.0.1:15222
XMPP_S2S_PORT=127:0.0.1:15269
XMPP_HTTPS_PORT=127:0.0.1:15443
# Your timezone # Your timezone
TZ=Europe/Berlin TZ=Europe/Berlin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment