ansible: run the asxp.io XMPP server on asxpio-services
ejabberd, apushd and the tackygram gateway ran on the temporary claude-test-xmpp server, a separate CX23 billed on its own. Move them to asxpio-services, which has the room now that Fossils is gone, and manage them like the other stacks. Compose follows anotherim-server's compose.yaml and compose.tackygram.yaml with CERTS=files; image versions are variables so they can be tracked. The TURN and call addresses come from the host's public IP instead of a hand-edited env file. Secrets, keys and the certificate stay on the host under /opt/xmpp/state as data and are covered by the restic backup. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
2f50229428
commit
f07eb95030
5 changed files with 97 additions and 1 deletions
6
ansible/roles/xmpp/templates/settings.env.j2
Normal file
6
ansible/roles/xmpp/templates/settings.env.j2
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
EJABBERD_MACRO_XMPP_DOMAIN={{ xmpp_domain }}
|
||||
EJABBERD_MACRO_TURN_IP={{ public_ip }}
|
||||
EJABBERD_MACRO_POW_DIFFICULTY=6
|
||||
EJABBERD_MACRO_REGISTRATION_TIMEOUT=600
|
||||
EJABBERD_MACRO_UPLOAD_URL={{ xmpp_upload_url }}
|
||||
EJABBERD_MACRO_ACME_URL=https://acme-v02.api.letsencrypt.org/directory
|
||||
Loading…
Add table
Add a link
Reference in a new issue