Docker image
The community server is published as a Docker image for container environments of your own. Most people want the install guide instead: its bundle runs this same image with Postgres, Caddy and LiveKit already wired up.
| Image | karolrzotki/tusile-community-server |
| Tags | latest, and one per app release (for example 0.7.0) to pin the server to the app version it matches |
| Platform | linux/amd64 only. An ARM host can run it only under emulation, which is slow. |
| Listens on | port 9090 (the PORT variable) |
Pull the image
Section titled “Pull the image”docker pull karolrzotki/tusile-community-server:latestRun it
Section titled “Run it”You provide Postgres and LiveKit yourself. This example is for a Cloud server:
docker run -d --name tusile-community \ -p 9090:9090 \ -e DATABASE_URL="postgres://user:pass@db:5432/tusile_community?sslmode=disable" \ -e CORE_SERVER_URL="https://api.tusile.com" \ -e SERVER_TOKEN="your_server_token" \ -e COMMUNITY_PUBLIC_URL="https://community.example.com" \ -e LIVEKIT_API_KEY="your_livekit_key" \ -e LIVEKIT_API_SECRET="your_livekit_secret" \ -v tusile-community-uploads:/app/uploads \ -v tusile-community-data:/app/data \ karolrzotki/tusile-community-server:latestFor an Offgrid server, replace CORE_SERVER_URL and SERVER_TOKEN with -e OFFGRID_MODE=true.
Make the LiveKit pair with docker run --rm livekit/livekit-server generate-keys; there is no default. Which variables are required in which mode, and every optional one, is in the configuration reference. Two are worth knowing when you run the image on its own:
LIVEKIT_URLreturns an explicit LiveKit endpoint to clients, instead of one built fromCOMMUNITY_PUBLIC_URLandLIVEKIT_PORT.LIVEKIT_API_URLis LiveKit’s address as seen from this container (the bundle useshttp://livekit:7880). Without it, server-side voice moderation is advisory only.
Use it in Compose
Section titled “Use it in Compose”services: community-server: image: karolrzotki/tusile-community-server:latest platform: linux/amd64 ports: - "9090:9090" environment: DATABASE_URL: postgres://user:pass@postgres:5432/tusile_community?sslmode=disable CORE_SERVER_URL: https://api.tusile.com SERVER_TOKEN: ${SERVER_TOKEN} COMMUNITY_PUBLIC_URL: https://community.example.com LIVEKIT_API_KEY: ${LIVEKIT_API_KEY} LIVEKIT_API_SECRET: ${LIVEKIT_API_SECRET} volumes: - community-uploads:/app/uploads - community-data:/app/data
volumes: community-uploads: community-data:Volumes
Section titled “Volumes”| Path in the container | What it holds |
|---|---|
/app/data |
The install ID, the Offgrid owner claim token and, on an Offgrid server, community_key, the signing key the server’s identity is derived from. |
/app/uploads |
Uploaded files, when STORAGE_BACKEND=local. |
The server runs database migrations itself on startup, so a new image needs no separate migration step.
Update the image
Section titled “Update the image”With Compose:
docker compose pull community-serverdocker compose up -d community-serverWithout Compose, pull the new tag and recreate the container with the same variables and volumes:
docker pull karolrzotki/tusile-community-server:latestdocker stop tusile-communitydocker rm tusile-community# then run your docker run command again, with the same variables and volumesBack up first. The rest of the upgrade advice is in Upgrades.