Moncho bu gisti düzenledi . Düzenlemeye git
1 file changed, 29 insertions
gistfile1.txt(dosya oluşturuldu)
@@ -0,0 +1,29 @@ | |||
1 | + | version: '2' | |
2 | + | services: | |
3 | + | mariadb: | |
4 | + | image: mariadb:10.10 | |
5 | + | volumes: | |
6 | + | - /volume1/docker/orangehrm/database/:/var/lib/mysql | |
7 | + | environment: | |
8 | + | - MYSQL_ROOT_PASSWORD=orangehrm | |
9 | + | - MYSQL_ROOT_USER=root | |
10 | + | - MYSQL_DATABASE=orangehrm | |
11 | + | ||
12 | + | orangehrm: | |
13 | + | image: orangehrm/orangehrm:latest | |
14 | + | ports: | |
15 | + | - 80:80 | |
16 | + | - 443:443 | |
17 | + | environment: | |
18 | + | - ORANGEHRM_DATABASE_HOST=mariadb | |
19 | + | - ORANGEHRM_DATABASE_USER=root | |
20 | + | - ORANGEHRM_DATABASE_PASSWORD=orangehrm | |
21 | + | - ORANGEHRM_DATABASE_NAME=orangehrm | |
22 | + | - PUID=1027 | |
23 | + | - PGID=100 | |
24 | + | volumes: | |
25 | + | - /volume1/docker/orangehrm/config/:/orangehrm | |
26 | + | depends_on: | |
27 | + | - mariadb | |
28 | + | links: | |
29 | + | - mariadb:mariadb |
Daha yeni
Daha eski