Skip to content

Instantly share code, notes, and snippets.

@RajithaKumara
Created September 26, 2022 06:33
Show Gist options
  • Save RajithaKumara/2d7b4013da9050a8bea0a2b771b8dfd8 to your computer and use it in GitHub Desktop.
Save RajithaKumara/2d7b4013da9050a8bea0a2b771b8dfd8 to your computer and use it in GitHub Desktop.
version: "3.3"
services:
orangehrm:
image: orangehrm/orangehrm:5.1
restart: unless-stopped
ports:
- "8200:80"
volumes:
- ./orangehrm/src/config:/var/www/html/src/config
- ./orangehrm/src/cache:/var/www/html/src/cache
- ./orangehrm/src/log:/var/www/html/src/log
- type: volume
source: orangehrm-conf
target: /var/www/html/lib/confs
volume:
nocopy: false #important
depends_on:
- mariadb
links:
- mariadb:mariadb
mariadb:
image: mariadb:10.2
restart: unless-stopped
volumes:
- ./db_orange:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=orangehrm
- MYSQL_ROOT_USER=root
volumes:
orangehrm-conf:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment