36 lines
915 B
Plaintext
36 lines
915 B
Plaintext
[Unit]
|
|
Description=ejabberd Server
|
|
|
|
[Container]
|
|
ContainerName=ejabberd
|
|
Image=ghcr.io/processone/ejabberd:latest
|
|
AutoUpdate=registry
|
|
#For XMPP over STARTTLS
|
|
PublishPort=5222:5222
|
|
#For XMPP over TLS
|
|
PublishPort=5223:5223
|
|
#For XMPP Federation
|
|
PublishPort=5269:5269
|
|
#For admin interface (admin/)
|
|
PublishPort=5280:5280
|
|
#For admin interface with encryption, API, CAPTCHA, OAuth, Websockets, XMPP BOSH
|
|
PublishPort=5443:5443
|
|
#For admin interface (/)
|
|
PublishPort=1880:1800
|
|
#For MQTT PublishPort=5478:5478/udp #For UDP: STUN service
|
|
PublishPort=1883:1883
|
|
#For SOCKS5 file transfer proxy
|
|
PublishPort=7777:7777
|
|
Volume=./ejabberd.yml:/opt/ejabberd/conf/ejabberd.yml:Z
|
|
Volume=ejabberd-database:/opt/ejabberd/database:Z
|
|
Volume=ejabberd-uploads:/opt/ejabberd/upload:Z
|
|
Volume=/etc/letsencrypt/live/loxthelion.com:/certs:
|
|
EnvironmentFile=ejabberd.env
|
|
#Exec=live
|
|
|
|
[Service]
|
|
Restart=unless-stopped
|
|
|
|
[Install]
|
|
WantedBy=default.target
|