10 Sentinels Active
SENTINEL 01: [AEGIS] AUDITING POCKETBASE INFRASTRUCTURE...
Back to Self-Hosted Stacks
ERPNext

Deploy ERPNext

A free and open-source integrated Enterprise Resource Planning (ERP) software.

Quick Start

1

Create a directory

mkdir erpnext-self-hosted && cd erpnext-self-hosted
2

Create config file

Copy the content from the Config tab below into a file named docker-compose.yml

3

Deploy

docker compose up -d
Fast Track

Deploy ERPNext in Minutes

Use our optimized Docker templates to deploy ERPNext on any cloud provider. Get $200 in free credit to start on DigitalOcean.

Start with free creditDeploy on DigitalOcean
$200

Metadata

License
GPL-3.0
Language
Python
Last Updated
10/14/2026
Category
ERP

Configuration

yaml
services:
  erpnext:
    image: frappe/erpnext:latest
    container_name: erpnext
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy
      redis-cache:
        condition: service_started
      redis-queue:
        condition: service_started
    ports:
      - "8080:8080"
    environment:
      - DB_HOST=db
      - DB_PORT=3306
      - REDIS_CACHE=redis://redis-cache:6379
      - REDIS_QUEUE=redis://redis-queue:6379

  db:
    image: mariadb:10.11
    container_name: erpnext-db
    restart: unless-stopped
    environment:
      - MARIADB_ROOT_PASSWORD=rootpass
      - MARIADB_DATABASE=erpnext
      - MARIADB_USER=erpnext
      - MARIADB_PASSWORD=erpnext
    command: ['--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
    volumes:
      - erpnext_db_data:/var/lib/mysql
    healthcheck:
      test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
      interval: 10s
      timeout: 5s
      retries: 5

  redis-cache:
    image: redis:alpine
    container_name: erpnext-redis-cache
    restart: unless-stopped

  redis-queue:
    image: redis:alpine
    container_name: erpnext-redis-queue
    restart: unless-stopped

volumes:
  erpnext_db_data:

Community Notes

Help others by adding context, corrections, or warnings about this tool. Sign in to contribute.

No community notes yet. Be the first to add context.