← All apps

Self-hosting guide

The suite runs all twelve apps on one Linux service, with one set of user accounts. A standalone bundle runs one app and keeps its own data and accounts.

Start on a Linux server

  1. Install Docker Engine and the Compose plugin. Verify with docker compose version and docker info. Download and extract the ZIP on the Linux server. Open a terminal in the folder containing compose.yaml. Docker installation guide

  2. Find the server’s network address with ip -br -4 addr. Choose the private IP on the interface your members can reach. Substitute it for 192.168.1.20 below.

    CIMPLE_BIND_ADDRESS=192.168.1.20 docker compose up -d --build
    docker compose ps
    
  3. For a fresh server, display its one-time setup code in the server terminal. Keep it private.

    docker compose exec app python manage.py setup-code
    
  4. In a browser, open http://192.168.1.20:8720/ using the server’s real IP. The suite uses port 8720. A standalone app uses the port in its README. Enter the code and choose a server name, administrator username, and password. Keep Let people with network access create an account checked if members should sign themselves up. The wizard opens Admin when setup completes. On an upgrade, sign in with your existing administrator account.

The first build needs internet access. The database and app-managed files persist in a named Docker volume. To run on just the server’s own browser, omit CIMPLE_BIND_ADDRESS and visit http://127.0.0.1:8720/.

Use from another device

Share the Linux server’s private IP and port with the people you want to invite. Each person opens that address on the same LAN or VPN and selects Create an account. The link appears when Allow new accounts is enabled in Admin. The account works immediately without email or approval. People can return to the same address and sign in from any device that reaches it.

Limit the exposed port to your trusted network. For Docker, enforce that limit where published ports are filtered. Use HTTPS if the network carries traffic you do not control. Docker port filtering

Manage the server in your browser

Open Admin in the header. Change the server name, open or close self-service registration, set the maximum upload size, choose the visible Media Shelf subfolder, or select which apps members can open. Changes apply on the next request. Disabling an app hides it and blocks its routes while preserving its data. The Server address field shows the address you used to reach Admin.

Select a username in Accounts to change their role, disable or re-enable their account, or reset their password. Access changes and password resets sign the affected user out. Members can change their own password from their account page.

Anyone who can reach the server can become a member while registration is open. Members share some app content, including cimp posts, public Messenger rooms, and the enabled Media Shelf library. Check the individual app guides for visibility before opening registration on a server with existing content.

Attach a photo and video library

Media Shelf and suite Docker bundles mount the local library directory read-only. Place an existing photo or video there to try it. To attach a different folder, use its absolute path on the host and supply the same server IP when recreating the container.

CIMPLE_BIND_ADDRESS=192.168.1.20 CIMPLE_LIBRARY_PATH="/path/to/photos" docker compose up -d

Use Admin → Media Shelf folder to narrow the shared library to a subfolder inside the mount. On Windows Docker Desktop, use forward slashes in paths and allow Docker to share the drive if prompted. The Media Shelf guide lists the formats and playback behavior.

Use Jukebox

The Jukebox and suite bundles install yt-dlp, EJS, and Deno with the application. Local uploads, requests, and playback work offline after installation. Searching or importing from YouTube requires internet access from the server. An administrator adds audio and operates the shared player.

Run with Python

Use Python 3.13 or compatible newer. On Debian, install python3-venv if the virtual environment command asks for it. Open a terminal in the extracted bundle and run these commands. Substitute the server’s IP for 192.168.1.20.

python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
.venv/bin/python manage.py setup-code
.venv/bin/python server.py --bind 192.168.1.20

Open that IP and the app’s port in a browser. With no --bind argument the service listens on loopback. Keep the server process running, ideally with your Linux service manager. For Windows, use python -m venv .venv, then replace .venv/bin/python with .\.venv\Scripts\python.exe. On macOS use the Linux commands.

The default data directory is data inside the extracted bundle. Set CIMPLE_DATA_DIR to an absolute path before both Python commands if you run the service from another directory. The default library is data/media, or set CIMPLE_MEDIA_DIR to a specific folder at launch.

Console recovery

If you cannot sign in to Admin, run the appropriate recovery command on the server. With Docker, use docker compose exec app python manage.py instead of python manage.py. With Python, use the same data directory and virtual environment as the service.

Command Result
python manage.py list-users List accounts and their roles
python manage.py reset-password alex Reset a forgotten password and revoke sessions
python manage.py enable-user alex Re-enable an existing account
python manage.py add-user recovery-admin --admin Create a recovery administrator

Run offline

Build the image on an internet-connected machine with the same CPU architecture. Identify the image name and tag using docker compose images app. Save the image on the connected machine and load it on the offline host. Transfer the extracted bundle too.

docker save -o cimple-image.tar YOUR_IMAGE
docker load -i cimple-image.tar

On the offline server, keep the project name from the bundle and launch the loaded image.

CIMPLE_BIND_ADDRESS=192.168.1.20 docker compose up -d --no-build --pull never
docker compose exec app python manage.py setup-code

Finish browser setup as usual. The UI and local accounts work without internet access.

Use HTTPS

Terminate TLS at a reverse proxy you administer. Forward the original Host header. Bind the app to loopback when the proxy runs on the same machine and to a restricted private IP when it runs elsewhere. For Docker, keep the default loopback binding when the proxy runs on the same machine.

Start with CIMPLE_SECURE_COOKIE=1 and set CIMPLE_TRUSTED_HOSTS to a comma-separated list containing the proxy hostname and 127.0.0.1 for the health check. For example, supply CIMPLE_SECURE_COOKIE=1 CIMPLE_TRUSTED_HOSTS=apps.example.net,127.0.0.1 before the usual startup command. Open the HTTPS hostname to sign in. Give separate standalone services distinct hostnames when sharing a proxy. Flask’s Waitress deployment guide

Back up and restore

Stop the app before taking the backup. Copy the entire data directory, including the SQLite database and the session key. Keep the backup private. Preserve mounted media and startup options separately.

docker compose stop app
docker compose cp app:/data ./cimple-backup
CIMPLE_BIND_ADDRESS=192.168.1.20 docker compose up -d

With native Python, stop the process, copy the data directory, and restart. Restore into a fresh storage location before retiring the original. For native Python, point CIMPLE_DATA_DIR at the restored copy. For Docker, use a fresh Compose project to make a fresh volume, then copy in the backup before starting the service. Replace BACKUP_PATH with the absolute path to the backup.

docker compose -p cimple-restore build
docker compose -p cimple-restore run --rm -v "BACKUP_PATH:/backup:ro" app python -c "from shutil import copytree; copytree('/backup', '/data', dirs_exist_ok=True)"
CIMPLE_BIND_ADDRESS=192.168.1.20 CIMPLE_PORT=8820 docker compose -p cimple-restore up -d

Use a free port during the restore check. Sign in and verify a known record or file.

Update

  1. Back up and verify your current installation. Keep your previous bundle for rollback.
  2. Extract the new bundle to a clean folder. Note the original data directory or named volume and any custom startup options.
  3. For Docker, stop the old service, retain the Compose project name, and run CIMPLE_BIND_ADDRESS=192.168.1.20 docker compose up -d --build from the new folder. Reuse the original IP, port, library mount, and HTTPS settings as applicable. To refresh the base image first, use docker compose build --pull.
  4. For Python, stop the old process. Create the new virtual environment, install its requirements, and start against the original data directory.
  5. Sign in using your existing account. Check a known record and open Admin to review registration, the app list, and the upload limit. When browser settings are added to an existing server, registration stays closed until an admin opens it.

Verify a download

Compare the SHA-256 listed on the app page to sha256sum bundle.zip on Linux, shasum -a 256 bundle.zip on macOS, or Get-FileHash .\bundle.zip -Algorithm SHA256 on Windows. Substitute the name of the ZIP.

Troubleshoot

Symptom What to check
Start page cannot be reached Confirm the service is running. Try its /health URL from the server and the other device. Check the selected interface IP, port, and firewall.
Setup code is rejected Copy it from the same running service and the same data directory. If the service already has users, sign in as administrator.
Port already in use Choose a free CIMPLE_PORT for Compose or --port for Python, then use that port in the URL.
Sign-in loops Use HTTPS if secure cookies are on. Check the allowed hostname and reload the form.
Media folder is empty Check host permissions, the read-only mount, file extensions, and the selected subfolder in Admin.
File upload is too large In Admin, check the full-request upload limit. Also check the reverse proxy and any host cap set with CIMPLE_MAX_UPLOAD_MIB.
Database stays locked Run one service per data directory and place SQLite on a local filesystem.