Back to Apps
Databag

Deploy Databag on Your Own Server

Databag is a federated chat app for selfhosting that focuses on privacy and security; the service includes clients for the browser as well as F-Droid, iOS and Android.

πŸ’¬ Communication

Want to deploy Databag on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is Databag?

Configure your instance and create accounts in the admin dashboard. Login to your account and connect with others. Start a conversation. More details: https://github.com/balzack/databag

Self-Host Databag

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

General
3

Deploy

Copy the configuration and run it on your server.

services:
  databag:
    image: balzack/databag:0.1.17
    environment:
      PHP_TZ: America/Los_Angeles
      TZ: America/Los_Angeles
    volumes:
      - databag-data:/var/lib/databag
volumes:
  databag-data: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:7000

Why Self-Host Databag?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Docker Image

balzack/databag:${version}

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"