diff options
Diffstat (limited to 'terminaldweller.com/ejabberd/docker-compose.yaml')
-rw-r--r-- | terminaldweller.com/ejabberd/docker-compose.yaml | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/terminaldweller.com/ejabberd/docker-compose.yaml b/terminaldweller.com/ejabberd/docker-compose.yaml index 4a6f2fe..3e6de12 100644 --- a/terminaldweller.com/ejabberd/docker-compose.yaml +++ b/terminaldweller.com/ejabberd/docker-compose.yaml @@ -8,18 +8,22 @@ services: - "80:80" - "5222:5222" - "127.0.0.1:5269:5269" - - "127.0.0.1:5280:5280" + - "5280:5280" - "5443:5443" - - "127.0.0.1:1883:1883" + - "1883:1883" - "127.0.0.1:5080:5080" - - "127.0.0.1:3478:3478/udp" - - "127.0.0.1:5349:5349" restart: unless-stopped volumes: - ./ejabberd.yml:/home/ejabberd/conf/ejabberd.yml - ./acme:/var/lib/ejabberd/acme - ./dh:/usr/local/etc/ejabberd + - confs_certs:/home/ejabberd/conf/ + - mnesia_db:/home/ejabberd/database/ networks: ejabberdnet: +volumes: + confs_certs: + mnesia_db: # openssl dhparam -out dhparams.pem 4096 -# sudo certbot certonly --standalone --email devi@terminaldweller.com --non-interactive --agree-tos -d chat.terminaldweller.com --preferred-challenges http +# certbot certonly --standlone -d chat.terminaldweller.com -e devi@terminaldweller.com --agree-tos --noninteractive --dry-run +# docker exec -it 6eebd16a2385 bin/ejabberdctl register admin chat.terminaldweller.com password |