Run your own universe
Run the whole of Universe on your own servers, with your data, your privacy and your rules.
Self-host the BAWES Universe stack on your own infrastructure with Docker Compose. Your people, your messages and your maps stay on your servers.
A server, a domain and Docker
- Get a server and a domain
Voice and video only work over HTTPS, so your server needs a domain name. The certificates are made for you.
- Fill in the settings file
Copy the template, set your domain and your secrets.
- Start it
One Docker Compose command brings the game up. Add the other pieces as you need them.
The pieces of a Universe
- The game
What people open in the browser, the server behind it, and map storage for the map editor.
- Orbit
Accounts, universes, worlds, rooms, members and roles. It answers the game through the Admin API.
Admin API → - Voice and video
Small conversations go browser to browser. LiveKit carries the bigger ones, and a TURN server helps people behind strict networks.
- Chat
A Matrix server, Synapse, keeps direct messages and chat rooms.
Matrix chat → - AI bots
The bot server runs your bots, on Universe AI providers you set or on keys people bring.
- Sign-in
Any login service that speaks OpenID Connect.
OIDC Auth →
On your own computer in four lines
This starts the game for trying things out on your own machine. It is not for a public server. For that, follow the install guide below.
git clone https://github.com/BAWES-Universe/workadventure-universe
cd workadventure-universe
cp .env.template .env
docker compose up
# with the AI bots too
docker compose -f docker-compose.yaml -f docker-compose.bots.yaml up
# then open http://play.workadventure.localhostGood to know before you start
The game itself needs little. The servers that carry video, LiveKit and TURN, are the ones to size generously.
A reverse proxy, Traefik, sits in front and gets HTTPS certificates from Let's Encrypt. Redis keeps the values your map scripts save.
You can keep maps in the built-in map storage or serve them from any web server.
- Deploy with
- Docker Compose
- HTTPS
- Traefik and Let's Encrypt
- Video
- WebRTC, LiveKit, TURN
- Chat
- Matrix Synapse
- Sign-in
- OpenID Connect
Ready to deploy?
The install guide takes you through it step by step.