-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
executable file
·39 lines (38 loc) · 1.41 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '2'
services:
web:
image: orangehrm/orangehrm-environment-images:uat-php-7.4.19-rhel-8
ports:
- "6868:443"
- "2332:22"
volumes:
- ./html:/var/www/html
- ./home:/home
- ./config/pam/su:/etc/pam.d/su
- ./config/pam/sshd:/etc/pam.d/sshd
- ./config/pam/password-auth:/etc/pam.d/password-auth
- ./config/pam/login:/etc/pam.d/login
- ./config/pam/system-auth:/etc/pam.d/system-auth
- ./config/security/access.conf:/etc/security/access.conf
- ./config/resolve-permission.sh:/etc/resolve-permission.sh
- ./config/resolve.conf:/etc/resolve.conf
- ./config/mysql-client:/etc/mysql
- ./config/apache2/sites-available:/etc/httpd/sites-enabled
- ./config/apache2/cert:/etc/httpd/cert
- ./config/apache2/ssl.conf:/etc/httpd/conf.d/ssl.conf
- ./logs/ubuntu_logs:/var/log/httpd
- /etc/localtime:/etc/localtime
- ./config/hostname:/etc/hostname
- ./config/welcome:/etc/motd
- ./config/sudoers:/etc/sudoers
- ./config/crontabs:/var/spool/cron/crontabs
- ./config/ssh/sshd_config:/etc/ssh/sshd_config
- ./config/ldap/cert:/etc/openldap/cacerts
- ./config/ldap/nsswitch.conf:/etc/nsswitch.conf
- ./config/ldap/nslcd.conf:/etc/nslcd.conf
- ./config/ldap/sudo-ldap.conf:/etc/sudo-ldap.conf
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
restart: always
hostname: uat-server-rhel
container_name: uat_web_rhel