robbinparrish / orangehrm-deployment

OrangeHRM deployment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disclaimer.

The content on this account/repository provided solely for educational and informational purposes. It is not intended for use in making any kind of business, investment and/or legal decisions. Although every effort has been made to keep the information up-to-date and accurate, no representations and/or warranties, express and/or implied, completeness, accuracy, reliability, suitability, and/or availability of the content.

OrangeHRM.

This can be used to setup a OrangeHRM Server.
OrangeHRM - https://github.com/orangehrm/orangehrm

Since the OrangeHRM image default uses non-root user in image and this user does not have write permission to host directory with bind mount. Need to perform followings to make it work with bind mount.

mkdir -p ./orangehrm-data/data
chown -R 33:33 ./orangehrm-data/data

For backup of mariadb database we will need to create a directory and set the correct ownership.

mkdir -p ./maria-db/backups
chown -R 1000:1000 ./maria-db/backups

Docker Compose Version.

Always validate that docker-compose version is latest. If not then use the latest released version. As of updating this document v2.24.0 was latest released version.

Starting the container.

docker-compose up -d

Checking the container logs.

docker-compose logs -f

Once Container is successfully created, we can access the webui in the browser - http://IPADDR_OF_SYSTEM

OrangeHRM does not provide a non-interactive configuration. We need to follow the wizard to setup the configuration. For this follow Additional Configuration.

Setting up first time.

Backup and Restore

Upgrading OrangeHRM