Back to Apps
Monica

Deploy Monica on Your Own Server

Monica is a great open source personal relationship management system to organize the interactions with your loved ones.

πŸ“¦ Other

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

Get Started

What is Monica?

Monica is a great open source personal relationship management system to organize the interactions with your loved ones.

Self-Host Monica

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:
  monica:
    image: monica:3.7
    environment:
      APP_ENV: production
      APP_KEY: 450472cd1521318487da20c3386f8c84
      DB_DATABASE: ${mariadb}-db
      DB_HOST: monica-mariadb
      DB_PASSWORD: ${mariadb}-pass
      DB_USERNAME: ${mariadb}-user
    volumes:
      - monica-storage:/var/www/html/storage
    depends_on:
      - monica-mariadb
  monica-mariadb:
    image: mariadb:10.5.6
    environment:
      MYSQL_DATABASE: ${mariadb}-db
      MYSQL_PASSWORD: ${mariadb}-pass
      MYSQL_RANDOM_ROOT_PASSWORD: "1"
      MYSQL_USER: ${mariadb}-user
    volumes:
      - monica-mariadb-data:/var/lib/mysql
volumes:
  monica-storage: {}
  monica-mariadb-data: {}

Then run:

docker compose up -d
4

Access

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

Why Self-Host Monica?

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

monica:${monica_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)"