Levelrail
Skip to content

Self-host OrangeHRM with Docker ​

An open-source human resources management suite: PTO, recruitment, performance, and an employee directory.

This page describes the Levelrail template for OrangeHRM (Applications). It deploys the services below as one Docker Compose app on your own server.

Project site: https://docs.orangehrm.com/.

Recommended memory: about 1024 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
mariadbmariadb:11none
orangehrm_mariadb_data -> /var/lib/mysql
orangehrmorangehrm/orangehrm:latest80
orangehrm_data -> /orangehrm

Environment variables ​

ServiceVariableValue
mariadbMYSQL_DATABASEPreset in the template
mariadbMYSQL_PASSWORDGenerated at deploy
mariadbMYSQL_ROOT_PASSWORDGenerated at deploy
mariadbMYSQL_USERPreset in the template
orangehrmORANGEHRM_DATABASE_HOSTPreset in the template
orangehrmORANGEHRM_DATABASE_NAMEPreset in the template
orangehrmORANGEHRM_DATABASE_PASSWORDGenerated at deploy
orangehrmORANGEHRM_DATABASE_USERPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy OrangeHRM with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select OrangeHRM. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy orangehrm --name my-orangehrm

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Applications templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.