added lemonldap
This commit is contained in:
@@ -38,7 +38,12 @@
|
||||
- "{{ vol_teamspeak }}"
|
||||
- "{{ vol_db }}"
|
||||
- "{{ npm_data }}"
|
||||
- "{{ npm_letsencrypt }}"
|
||||
- "{{ npm_letsencrypt }}"
|
||||
- "{{ lemonldap_data }}"
|
||||
- "{{ lemonldap_cfg }}"
|
||||
- "{{ lemonldap_perl }}"
|
||||
- "{{ lemonldap_nginx }}"
|
||||
- "{{ lemonldap_lib }}"
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Pull required images (including Teamspeak)
|
||||
@@ -74,6 +79,11 @@
|
||||
name: "{{ db_image }}"
|
||||
state: present
|
||||
|
||||
- name: Pull LemonLDAP image
|
||||
containers.podman.podman_image:
|
||||
name: "{{ lemon_image }}"
|
||||
state: present
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Render all configuration files from the templates
|
||||
# -----------------------------------------------------------------
|
||||
@@ -237,5 +247,30 @@
|
||||
- "{{ element_config_path }}:/app/config.json:Z"
|
||||
network: "{{ podman_network }}"
|
||||
restart_policy: always
|
||||
|
||||
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# LemonLDAP-NG
|
||||
#------------------------------------------------------------------
|
||||
- name: Start LemonLDAP container
|
||||
containers.podman.podman_container:
|
||||
name: "{{ lemonldap_container_name }}"
|
||||
image: "{{ lemonldap_image }}"
|
||||
state: started
|
||||
ports:
|
||||
- "{{ lemonldap_http_port }}:80"
|
||||
- "{{ lemonldap_https_port }}:443"
|
||||
env:
|
||||
SSODOMAIN="{{ top_domain }}"
|
||||
PORTAL_HOSTNAME="{{ ldap_portal_hostname }}"
|
||||
MANAGER_HOSTNAME="{{ ldap_manager_hostname }}"
|
||||
HANDLER_HOSTNAME="{{ ldap_hanlder_hostname }}"
|
||||
PORT="{{ lemonldap_port }}"
|
||||
FASTCGI_LISTEN_PORT="{{ lemonldap_cgi_port }}"
|
||||
volumes:
|
||||
- "{{ lemonldap_data }}:/usr/share/lemonldap-ng:Z"
|
||||
- "{{ lemonldap_cfg }}:/etc/lemonldap-ng:Z"
|
||||
- "{{ lemonldap_perl }}:/usr/share:Z"
|
||||
- "{{ lemonldap_nginx }}:/etc/nginx/sites-enabled:Z"
|
||||
- "{{ lemonldap_lib }}:/var/lib/lemonldap-ng:Z"
|
||||
network: "{{ podman_network }}"
|
||||
restart_policy: always
|
||||
Reference in New Issue
Block a user