-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathdocker-compose-selinux.yaml
39 lines (39 loc) · 1.72 KB
/
docker-compose-selinux.yaml
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
services:
lemonldap-ng:
container_name: lemonldap-ng
image: lemonldapng/lemonldap-ng:latest
environment:
PUID: 1000
PGID: 1000
TZ: Europe/Paris
SSODOMAIN: example.com
PORTAL_HOSTNAME: auth.example.com
MANAGER_HOSTNAME: manager.example.com
HANDLER_HOSTNAME: reload.example.com
TEST1_HOSTNAME: test1.example.com
TEST2_HOSTNAME: test2.example.com
LOGLEVEL: debug
# Starts fast-cgi-server with a port rather than socket
#FASTCGI_LISTEN_PORT: 9000
PORT: 8080
IPV4_ONLY: true
PRESERVEFILES: /etc/lemonldap-ng /var/lib/lemonldap-ng/conf /var/lib/lemonldap-ng/sessions /var/lib/lemonldap-ng/psessions
ports:
# Needed only when using fast-cgi-server via port access
#- 9000:9000
- 8080:8080
volumes:
- ./llng/etc:/etc/lemonldap-ng:Z
- ./llng/var-conf:/var/lib/lemonldap-ng/conf:Z
- ./llng/var-sessions:/var/lib/lemonldap-ng/sessions:Z
- ./llng/var-psessions:/var/lib/lemonldap-ng/psessions:Z
- ./llng/theme:/usr/share/lemonldap-ng/portal/htdocs/static/CustomTheme:Z
- ./llng/template:/usr/share/lemonldap-ng/portal/templates/CustomTheme:Z
- ./llng/plugins:/usr/share/perl5/Lemonldap/NG/Portal/Plugins/CustomPlugin:Z
- ./llng/register:/usr/share/perl5/Lemonldap/NG/Portal/Register/CustomRegister:Z
- ./llng/userdb:/usr/share/perl5/Lemonldap/NG/Portal/UserDB/CustomUserdb:Z
- ./llng/auth:/usr/share/perl5/Lemonldap/NG/Portal/Auth/CustomAuth:Z
- ./llng/captcha:/usr/share/perl5/Lemonldap/NG/Portal/Captcha/CustomCaptcha:Z
- ./llng/menutab:/usr/share/perl5/Lemonldap/NG/Portal/MenuTab/CustomMenuTab:Z
- ./llng/nginx:/etc/nginx/sites-enabled:Z
restart: unless-stopped