jwht-hrm-5.4/docker-compose.yaml
2024-04-25 21:56:28 +08:00

45 lines
904 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
ports:
- "3306:3306"
phpmyadmin:
image: phpmyadmin
restart: always
ports:
- 8300:80
environment:
- PMA_ARBITRARY=1