Open infrastructure for our server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

98 lines
2.3 KiB

---
# The main hostname of the server, used by some services:
# - for contact info (contact@hostname) when contact is not configured (mailserver, jabberserver, tls)
# - as primary identifier for other servers (mailserver)
hostname: "joinjabber.org"
# Other hostnames to reach the server over.
# Special case: webserver automatically registers/configures
# the main hostname as well as all aliases with `www` prefixes
aliases:
- "joinxmpp.org"
# Contact information for the server
contact:
email: [ "contact@joinjabber.org" ]
xmpp_muc: [ "chat@joinjabber.org" ]
#xmpp_users: [ "foo@example.org" ]
# List of services (roles) to be configured
services:
- ".common"
- "webserver"
- "jabberserver"
- "mailserver"
- "chatbridge"
# List of packages to install when .common is enabled
packages:
# Debian packages
debian:
- "git"
- "docker.io"
- "tmux"
- "vim"
- "rsync"
- "dnsutils"
- "mosh"
webserver:
# See roles/webserver/README.md for documentation
settings:
tls: true # default: true
http2: true # default: true
zola:
- host: "joinjabber.org"
git: "https://codeberg.org/joinjabber/website"
proxy:
- host: "forum.joinjabber.org"
to: "http://127.0.0.1:8080"
jabberserver:
# See roles/webserver/README.md for documentation
settings:
web_client: "xmpp-web"
admins:
- 'pep@bouah.net'
- 'southerntofu@militant.es'
muc:
- host: "joinjabber.org"
anonymous:
host: "anon.joinjabber.org"
mailserver:
hostname: "forum.joinjabber.org"
mode: "primary"
# mode: "client"
# relay: "mx.foo.bar"
# auth: ..
destinations:
- "forum.joinjabber.org"
interfaces:
- name: "docker0"
auth: false
tls: false
- name: "ens18"
- name: "lo"
accounts:
- name: 'replies@forum.joinjabber.org'
aliases:
- 'notifications@forum.joinjabber.org'
chatbridge:
# See roles/chatbridge/README.md for documentation
chans:
- name: "chat"
chans:
"joinjabber": "chat"
"tildechat": "#joinjabber"
settings:
accounts:
- name: "joinjabber"
type: "xmpp"
login: "jjbot@jabber.fr"
server: "joinjabber.org"
- name: "tildechat"
type: "irc"
login: "relay"
server: "irc.tilde.chat"