Skip to content

Repository files navigation

DatabasesEverywhere

A Linux daemon for hosting databases behind a control panel.

Run each database in a dedicated container or place multiple tenants in a shared engine pool. The panel chooses placement; DBEV handles provisioning, credentials, gateway routing, limits, and recovery.

Features

  • PostgreSQL, MySQL, MariaDB, MongoDB, ClickHouse, Redis, Valkey, and Qdrant.
  • Dedicated deployments for all engines; shared pools for the five SQL/document engines.
  • Authenticated protocol gateways over private container sockets.
  • CPU, memory, and disk limits for dedicated instances; shared-pool limits and tenant disk enforcement.
  • Imports, exports, scheduled backups, and dedicated/shared migrations.
  • REST management and live WebSocket monitoring.

See engine compatibility and placement for supported versions and limitations.

Get started

Requires Linux with glibc 2.35+, Docker or Podman, and the storage prerequisites. Release binaries support x86-64, ARM64, and RISC-V 64.

Download and install

Pull the latest release for your architecture. This uses curl and the GitHub CLI (gh) to verify the binary's build attestation before installing it:

(
set -eu
case"$(uname -m)"in
x86_64|amd64) DBEV_ARCH=x86_64 ;;
aarch64|arm64) DBEV_ARCH=arm64 ;;
riscv64) DBEV_ARCH=riscv64 ;;
*) echo"Unsupported architecture">&2;exit 1 ;;
esac
DBEV_DOWNLOAD="$(mktemp)"trap'rm -f -- "$DBEV_DOWNLOAD"' EXIT
curl --fail --location \
"https://github.com/Tomaxikz/DatabasesEverywhere/releases/latest/download/dbev-${DBEV_ARCH}-linux" \
-o "$DBEV_DOWNLOAD"
gh attestation verify "$DBEV_DOWNLOAD" --repo Tomaxikz/DatabasesEverywhere
sudo install -m 0755 "$DBEV_DOWNLOAD" /usr/local/bin/dbev
)

For a pinned release, replace releases/latest/download with releases/download/vX.Y.Z in the URL. Pin reviewed versions in automated deployments.

Configure and start

Save the panel-generated configuration to /etc/databases-everywhere/config.yml; see the example config. Then install and start the systemd service:

sudo dbev --setup
sudo journalctl -u databases-everywhere -f

Setup runs the manager as root and starts or restarts the service. Database containers remain network-isolated. Protect management access and use TLS across untrusted networks.

Follow node setup for installation, configuration, upgrades, and logs, or Docker deployment for Compose.

Documentation

About

Self-hosted database hosting and lifecycle management for PostgreSQL, MySQL, MariaDB, Redis, MongoDB, ClickHouse, and Qdrant—with backups, restores, monitoring, upgrades, and resource limits.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages