Deployment
Deployment
The recommended way to self-host SchellingBoard is via Docker.
docker run -d \
--name schellingboard \
-p 3000:3000 \
-v schellingboard_data:/data \
-e SITE_PASSWORD=changeme \
-e AUTH_SECRET=$(openssl rand -hex 32) \
schellingboard/schellingboard
Or with docker compose — copy docker-compose.yml and .env.docker.example from the
repository into the same directory, then:
cp .env.docker.example .env
# edit .env and fill in SITE_PASSWORD, AUTH_SECRET, etc.
docker compose up -d
docker compose automatically reads a .env file in the same directory as docker-compose.yml, so
you don’t need to pass variables on the command line.
See Configuration for every environment variable, including how to set up email, and Backup and restore for keeping a copy of your data.
Serve it over HTTPS
Put the container behind a reverse proxy with a certificate. Set SB_TRUSTED_PROXIES so the app can
tell visitors apart (see Behind a reverse proxy). Two
attendee-facing features only work on an https:// address, because browsers refuse them anywhere
else:
- Adding the site to a phone’s home screen, and with it
- notifications on a phone or laptop while the site isn’t open.
Everything else works over plain HTTP, so a laptop on the venue’s wifi is fine for a trial run — just not for an event people will install.
Nothing needs configuring for notifications beyond the certificate: the keys they are signed with are generated the first time an attendee turns them on and kept in the database, so a restored backup keeps working.
Updating
Pull the new image and start the container again; your data stays in the volume. With
docker compose:
docker compose pull
docker compose up -d
With plain docker, run docker pull schellingboard/schellingboard, then stop and remove the
container and docker run it again with the same options. Database changes are applied on start.
Take a backup first.
When you are signed in as admin, a red dot beside the version in the footer says a newer release is
out; select the version to see both releases and their dates. The server looks this up on GitHub at
most once a day and shows nothing if it cannot reach it. Set SB_UPDATE_CHECK=false to turn the
lookup off.
Administration
Events, guests, locations, and content moderation are managed through the web admin UI at /admin.
Sign in as a site admin; the first one is made through a link the server logs at start (see
Site admins). See the
Admin UI guide for what’s configurable, and
How it works for the phase model and attendee-facing behavior.