Docker Quickstart
Docker is the preferred way to deploy Rosterboard, as it comes with all the bells and whistles inside.
Using Docker
docker volume create rosterboard-data
docker run -v rosterboard-data:/app/config -p 9418:9418 --restart=unless-stopped --name rosterboard -d jouleworks/rosterboard:v1.2
Using Docker Compose
curl -O https://raw.githubusercontent.com/Jouleworks/rosterboard/refs/heads/main/docker/production/docker-compose.yaml
curl -O .env https://raw.githubusercontent.com/Jouleworks/rosterboard/refs/heads/main/docker/production/.env.example # optional! Be sure to edit and change the file name to .env
docker compose up -d
Once running, Go to http://localhost:9418/setup/ to begin.
Environment Variables
Set these variables during initial config setup to override default container values. All variables have default values and are not required.
Variable Name | Description | Default |
---|---|---|
POSTGRES_HOST | Hostname for Postgres Database | rosterboard |
POSTGRES_PORT | Port for Postgres Database | 5432 |
POSTGRES_USER | User for the Postgres Database. | rosterboard |
POSTGRES_PASSWORD | Password for the Postgres Database. | rosterboard |
POSTGRES_DB | Database name for the Postgres Database. | rosterboard |
REDIS_HOST | Host for the Redis Server | rosterboard-redis |
Upgrading
Using Docker
docker stop rosterboard
docker pull jouleworks/rosterboard:v1.2 # Replace v1.2 with the tag you want to upgrade to here. https://hub.docker.com/r/jouleworks/rosterboard/tags
docker start rosterboard
Using Docker Compose
docker compose up -d