Created
September 26, 2022 06:33
-
-
Save RajithaKumara/2d7b4013da9050a8bea0a2b771b8dfd8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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