aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/ejabberd/docker-compose.yaml
blob: 4a6f2fe4422e3e1ec80070426b14f8ae69f2a4b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: "3.4" 
services:
  ejabberd:
    image: ejabberd/ecs:21.07
    networks:
      - ejabberdnet
    ports:
      - "80:80"
      - "5222:5222"
      - "127.0.0.1:5269:5269"
      - "127.0.0.1:5280:5280"
      - "5443:5443"
      - "127.0.0.1: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
networks:
  ejabberdnet:
# 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