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

Deploy OrangeHRM

The world's most popular open source human resource management software.

Quick Start

1

Create a directory

mkdir orangehrm-self-hosted && cd orangehrm-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 OrangeHRM in Minutes

Use our optimized Docker templates to deploy OrangeHRM 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
PHP
Last Updated
6/28/2026
Category
HR

Configuration

yaml
services:
  orangehrm:
    image: orangehrm/orangehrm:latest
    container_name: orangehrm
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy
    ports:
      - "8080:80"
    environment:
      - ORANGEHRM_DATABASE_HOST=db
      - ORANGEHRM_DATABASE_USER=orangehrm
      - ORANGEHRM_DATABASE_PASSWORD=orangehrm
      - ORANGEHRM_DATABASE_NAME=orangehrm
    volumes:
      - orangehrm_data:/var/www/html

  db:
    image: mariadb:10.11
    container_name: orangehrm-db
    restart: unless-stopped
    environment:
      - MARIADB_ROOT_PASSWORD=rootpass
      - MARIADB_USER=orangehrm
      - MARIADB_PASSWORD=orangehrm
      - MARIADB_DATABASE=orangehrm
    volumes:
      - orangehrm_db_data:/var/lib/mysql
    healthcheck:
      test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
      interval: 10s
      timeout: 5s
      retries: 5

volumes:
  orangehrm_data:
  orangehrm_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.