Skip to content
GitHub1.1k

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.

  1. Create a compose.yml file:

    compose.yml
    services:
    razzia:
    image: ralex91/razzia:latest
    ports:
    - "3000:3000"
    volumes:
    - ./config:/app/config
    env_file:
    - .env
  2. Create a .env file next to it, with the password that protects the manager interface:

    .env
    MANAGER_PASSWORD=your-password
  3. Start the container:

    Terminal window
    docker compose up -d

Razzia is now running:

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.

Pull the new image and recreate the container:

Terminal window
docker compose pull
docker compose up -d

Your config folder is untouched by updates.