Skip to content

About

Ansible playbook to self-host TeamCraft with rootless Podman and Quadlet

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

TeamCraft deployment

An Ansible playbook that installs TeamCraft – self-hosted, end-to-end encrypted team chat with calls and meetings – on your own Debian server. Every component runs as a rootless Podman container under its own unprivileged user, managed by systemd through Quadlet. IPv4 and IPv6 throughout.

You need a Debian 13 or Ubuntu 24.04 server, a domain name and about 15 minutes.

git clone https://github.com/Zeitgleich/teamcraft-deploy.git && cd teamcraft-deploy
mkdir -p inventory/host_vars/chat.example.com
cp examples/hosts inventory/hosts                                       # your server's address
cp examples/vars.yml inventory/host_vars/chat.example.com/vars.yml      # your domain, admin e-mail
just install-all                                                        # install and start
just ensure-admin alice 'a long password'                               # first user (owner)
just self-check
Guide Content
Prerequisites Server, software on your machine, firewall
DNS The host names and records (A + AAAA, the SFU's UDP port)
Reverse proxy Next to a web server you run: nginx, Apache, Plesk, Traefik, ...
Configuring Inventory, the few required settings, secrets (generated or sops)
Installing Running the playbook, tags, the first user
Updating New TeamCraft versions, just update
Backups Database dumps, off-site copies, restore
Uninstalling Removing components or everything
Components One page per component and its settings

Components

Component Default Runs as Toggle
Caddy on (or your proxy) tc-proxy caddy_enabled
PostgreSQL on tc-db postgres_enabled
TeamCraft server on tc-server teamcraft_server_enabled
TeamCraft SFU on tc-sfu teamcraft_sfu_enabled
Integration bridge off tc-bridge teamcraft_bridge_enabled
Notetaker off tc-notetaker teamcraft_notetaker_enabled
Keycloak on (or external OIDC) tc-keycloak keycloak_enabled
Dex (instead of Keycloak) off tc-dex dex_enabled
Garage on (or external S3) tc-garage garage_enabled
Push gateway off (own host) tc-gateway push_gateway_enabled
Mail relay off (external SMTP) – teamcraft_smtp_enabled
CalCraft off tc-calcraft calcraft_enabled
GlitchTip (crash reports) off tc-glitchtip glitchtip_enabled
Brands one built-in – teamcraft_brands
Backups on tc-db backups_enabled
Demo reset (store reviews) off root demo_reset_enabled
Base (users, Podman, firewall, secrets) always root base_firewall_enabled

Testing changes

just dry-run all deploys to a throwaway Debian container on your machine and checks the result end to end, including two users exchanging encrypted messages (test/dry-run.sh). CI runs it, ansible-lint and yamllint on every pull request.

License

AGPL-3.0-or-later, like TeamCraft. See LICENSE. Changes: CHANGELOG.md.

About

Ansible playbook to self-host TeamCraft with rootless Podman and Quadlet

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages