SafariDesk Self-Hosted Installation
This page installs SafariDesk from the monorepo root using Docker Compose. The default install uses published Docker Hub images:safaridesk/safaridesk-frontendsafaridesk/safaridesk-backend
- Architecture
- Configuration
- Docker Images and Releases
- Production Deployment
- Backup and Restore
- Troubleshooting
Requirements
Production host:- Linux server
- Docker Engine
- Docker Compose plugin
- Ports
80and443available - At least 4 GB RAM
- At least 20 GB persistent disk
- Ubuntu 22.04 or newer
- 8 GB RAM
- 4 CPU cores
- A real domain name
- TLS certificate handled by a host reverse proxy, load balancer, or future TLS-enabled Nginx profile
- macOS with Docker Desktop
- Windows with Docker Desktop
- Linux workstation with Docker Engine
Repository Layout
Run all commands from the repository root:frontend/ or backend/.
Step 1: Clone the Repository
Use the final public monorepo URL when it is available. Placeholder:Step 2: Create the Environment File
Copy the example file:.env and change at least these values before exposing the deployment publicly:
localhost values are enough to start the stack.
See Configuration for the full variable reference.
Step 3: Select Docker Image Tags
By default,.env.example uses:
latest only for local testing or when you intentionally want the newest published default-branch image.
Step 4: Start the Stack
Pull published images:nginx should publish a host port by default.
Step 5: Initialize the Database
Install the pgvector extension and run migrations:Step 6: Collect Static Files
Collect Django static files into the sharedstaticfiles volume:
Step 7: Create the Admin User
The admin user is created from these.env values:
Step 8: Run Optional Bootstrap Commands
The backend includes additional management commands for seed data and email templates. Run the core SafariDesk setup command:Step 9: Open SafariDesk
For local installation:.env.
Step 10: Verify the Install
Run the HTTP health check:Build Locally Instead of Pulling Images
If you want to build from the checked-out source code:frontend/Dockerfilebackend/Dockerfile
backendchannelsworkerbeat
Common First-Install Checks
Confirm the rendered Compose file is valid:Next Steps
After installation:- Review Production Deployment before exposing SafariDesk publicly.
- Review Configuration and replace every placeholder secret.
- Review Backup and Restore before adding production data.
- Pin a release tag using Docker Images and Releases.

