43 lines
873 B
YAML
43 lines
873 B
YAML
version: "3.3"
|
|
|
|
services:
|
|
|
|
orangehrm:
|
|
image: orangehrm/orangehrm:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8200:80"
|
|
- "8210:443"
|
|
environment:
|
|
- ORANGEHRM_DATABASE_HOST=mariadb
|
|
- ORANGEHRM_DATABASE_USER=root
|
|
- ORANGEHRM_DATABASE_PASSWORD=orangehrm
|
|
- ORANGEHRM_DATABASE_NAME=orangehrm
|
|
- PUID=998
|
|
- PGID=100
|
|
volumes:
|
|
- ./orange:/orangehrm
|
|
- ./:/var/www/html/
|
|
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
|
|
- MYSQL_DATABASE=orangehrm
|
|
|
|
phpmyadmin:
|
|
image: phpmyadmin
|
|
restart: always
|
|
ports:
|
|
- 8300:80
|
|
environment:
|
|
- PMA_ARBITRARY=1
|