Installation
Docker is the recommended way to run Razzia. The image contains everything: the web app, the game server and the API, all served on port 3000.
You need Docker, and Docker Compose if you use the Compose setup.
Start Razzia
Section titled “Start Razzia”-
Create a
compose.ymlfile:compose.yml services:razzia:image: ralex91/razzia:latestports:- "3000:3000"volumes:- ./config:/app/configenv_file:- .env -
Create a
.envfile next to it, with the password that protects the manager interface:.env MANAGER_PASSWORD=your-password -
Start the container:
Terminal window docker compose up -d
docker run -d \ -p 3000:3000 \ -e MANAGER_PASSWORD=your-password \ -v ./config:/app/config \ ralex91/razzia:latestRazzia is now running:
- Players join at http://localhost:3000.
- The host manages games at http://localhost:3000/manager.
On the first start, Razzia creates the config folder with an example quiz. It holds your quizzes, results, uploaded media and branding, so keep it: it is what persists across updates. See The config folder.
Update Razzia
Section titled “Update Razzia”Pull the new image and recreate the container:
docker compose pulldocker compose up -ddocker pull ralex91/razzia:latestThen remove the old container and start a new one with the same docker run command.
Your config folder is untouched by updates.
Next steps
Section titled “Next steps”- Host your first game
- Configure Razzia with environment variables
- Put it behind a reverse proxy to use a domain name and HTTPS