Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
A document management system built for large archives: upload or ingest documents, classify them with document types, metadata, tags and cabinets, run OCR and full-text search, keep versions and signatures, and automate with workflows, access control lists and a REST API. The Docker deployment runs the Django app with PostgreSQL, RabbitMQ and Redis; background workers do the document processing.
Runs on a VPS from $24/mo (Kamatera 8GB, 8 GB RAM) · prices checked Nov 2026
Fits home hardware (3,842 MB measured idle, RAM only): Raspberry Pi 5 (8 GB) (arm64 untested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Pick Mayan EDMS when you need a serious document archive rather than a scan inbox: it stores documents with versions, classifies them by document type, metadata, tags and cabinets, runs OCR and full-text search, and automates with workflows, access control lists and a REST API. The requirements page says it can be deployed across larger infrastructure for repositories containing millions of documents. It is GPL-2.0 Python (Django). Our snippet is the project's Docker Compose deployment trimmed to the all-in-one app container plus PostgreSQL, RabbitMQ and Redis, with generated passwords and the image pinned to `v4.12.2`. The 4096 MB figure is upstream's documented minimum (4 GB RAM, a 64-bit dual-core CPU, PostgreSQL 13.11); the docs recommend 16 GB for a basic deployment. The catalog's Paperless-ngx and Papra are lighter and aimed at scanned paperwork, and Papermerge sits between them.
Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# Mayan EDMS — document management — based on the project's Docker Compose file, pinned to v4.12.2
echo "DB_PASSWORD=$(openssl rand -hex 12)" > .env
echo "RABBITMQ_PASSWORD=$(openssl rand -hex 12)" >> .env
echo "REDIS_PASSWORD=$(openssl rand -hex 12)" >> .env
echo "ADMIN_PASSWORD=$(openssl rand -hex 12)" >> .env
cat > docker-compose.yml <<'EOF'
services:
app:
image: mayanedms/mayanedms:v4.12.2
restart: unless-stopped
ports:
- 8080:8000
volumes:
- app:/var/lib/mayan
environment:
MAYAN_AUTOADMIN_USERNAME: admin
MAYAN_AUTOADMIN_PASSWORD: ${ADMIN_PASSWORD}
MAYAN_DOCKER_WAIT: "postgresql:5432 rabbitmq:5672 redis:6379"
MAYAN_CELERY_BROKER_URL: amqp://mayan:${RABBITMQ_PASSWORD}@rabbitmq:5672/mayan
MAYAN_CELERY_RESULT_BACKEND: redis://:${REDIS_PASSWORD}@redis:6379/1
MAYAN_DATABASES: "{'default':{'ENGINE':'django.db.backends.postgresql','NAME':'mayan','PASSWORD':'${DB_PASSWORD}','USER':'mayan','HOST':'postgresql','PORT':5432,'CONN_MAX_AGE':0}}"
MAYAN_LOCK_MANAGER_BACKEND: mayan.apps.lock_manager.backends.redis_lock.RedisLock
MAYAN_LOCK_MANAGER_BACKEND_ARGUMENTS: "{'redis_url':'redis://:${REDIS_PASSWORD}@redis:6379/2'}"
MAYAN_SERVER_SIDE_EVENTS_BACKEND: mayan.apps.server_side_events.sse_backends.redis.RedisServerEventStreamBackend
MAYAN_SERVER_SIDE_EVENTS_BACKEND_ARGUMENTS: "{'url':'redis://:${REDIS_PASSWORD}@redis:6379/3'}"
depends_on:
postgresql:
condition: service_healthy
rabbitmq:
condition: service_healthy
redis:
condition: service_healthy
postgresql:
image: postgres:15
restart: unless-stopped
environment:
POSTGRES_DB: mayan
POSTGRES_USER: mayan
POSTGRES_PASSWORD: ${DB_PASSWORD}
healthcheck:
test: ["CMD", "pg_isready", "--dbname", "mayan", "--username", "mayan"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
volumes:
- postgres:/var/lib/postgresql/data
rabbitmq:
image: rabbitmq:4.1-management
restart: unless-stopped
hostname: rabbitmq
environment:
RABBITMQ_DEFAULT_USER: mayan
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_PASSWORD}
RABBITMQ_DEFAULT_VHOST: mayan
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS: -rabbit consumer_timeout 1800000
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "ping"]
interval: 30s
timeout: 30s
retries: 5
start_period: 20s
volumes:
- rabbitmq:/var/lib/rabbitmq
redis:
image: redis:7.4
restart: unless-stopped
command: ["redis-server", "--appendonly", "no", "--databases", "4", "--maxmemory", "100mb", "--maxmemory-policy", "noeviction", "--save", "", "--requirepass", "${REDIS_PASSWORD}"]
healthcheck:
test: ["CMD-SHELL", "redis-cli -a ${REDIS_PASSWORD} ping | grep -q PONG"]
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
volumes:
- redis:/data
volumes:
app:
postgres:
rabbitmq:
redis:
EOF
docker compose up -d
timeout 360 bash -c 'until curl -fsS http://localhost:8080/ >/dev/null; do sleep 5; done'
# → http://SERVER_IP:8080 — sign in as admin with the ADMIN_PASSWORD in .envMayan's installation and requirements pages flag these before you rely on it:
Mayan EDMS used 3842 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.9.3 (first boot, measured Nov 2026). We list a minimum of 4096 MB.
The Mayan EDMS install snippet is marked verified on Ubuntu 26.04 (Nov 2026).