mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
26 lines
565 B
YAML
26 lines
565 B
YAML
dnsdock:
|
|
image: tonistiigi/dnsdock
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
ports:
|
|
- 172.17.42.1:53:53/udp
|
|
|
|
ejabberd:
|
|
build: .
|
|
ports:
|
|
- 5222
|
|
- 5269
|
|
- 5280
|
|
environment:
|
|
- XMPP_DOMAIN=example.com
|
|
- ERLANG_NODE=ejabberd
|
|
- EJABBERD_ADMINS=admin@example.com
|
|
- EJABBERD_USERS=admin@example.com:test321 user@example.com
|
|
- ERLANG_COOKIE=testCluster
|
|
- SKIP_MODULES_UPDATE=true
|
|
- EJABBERD_CLUSTER=true
|
|
- USE_DNS=true
|
|
dns: 172.17.42.1
|
|
domainname: dockercomposecluster_ejabberd.docker
|
|
tty: true
|