Introduction
Welcome to the Self-Hosting section of the Databasement documentation!
Databasement is a web application for managing database server backups. It allows you to register database servers (MySQL, PostgreSQL, MariaDB), test connections, schedule automated backups, and restore snapshots to any registered server.
Getting Started
We provide guides to deploy Databasement using:
- Docker - Single container deployment (recommended for most users)
- Docker Compose - Multi-container setup with external database
- Kubernetes + Helm - For Kubernetes clusters
- Native Ubuntu - Traditional installation without Docker
Requirements
Databasement runs in a single container that includes:
- FrankenPHP web server
- Queue worker for async backup/restore jobs
- Scheduler for automated backups
The only external requirement is a database for the application itself:
- SQLite (simplest, built into the container)
- MySQL/MariaDB or PostgreSQL (recommended for production)
Quick Start
The fastest way to try Databasement:
docker run -d \
--name databasement \
-p 2226:2226 \
-v databasement-data:/app/storage \
davidcrty/databasement:latest
Then open http://localhost:2226 in your browser.
This quick start uses SQLite for the application database. For production deployments, see the Docker guide for recommended configurations.
Support
If you encounter issues with self-hosting, please open an issue on GitHub.