chore: add authentik outpost deployment
Signed-off-by: Bert-Jan Fikse <bert-jan@whatwedo.ch>
This commit is contained in:
parent
dbcccc090b
commit
d25f1c5304
3 changed files with 79 additions and 0 deletions
27
roles/authentik_outpost_ldap/templates/docker-compose.yml.j2
Normal file
27
roles/authentik_outpost_ldap/templates/docker-compose.yml.j2
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
services:
|
||||
ldap:
|
||||
image: {{ authentik_outpost_ldap_image }}
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
AUTHENTIK_HOST: {{ authentik_outpost_ldap_host }}
|
||||
AUTHENTIK_TOKEN: {{ authentik_outpost_ldap_token }}
|
||||
AUTHENTIK_INSECURE: "{{ authentik_outpost_ldap_insecure }}"
|
||||
{% if authentik_outpost_ldap_extra_hosts | length > 0 %}
|
||||
extra_hosts:
|
||||
{% for host in authentik_outpost_ldap_extra_hosts %}
|
||||
- "{{ host }}"
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
networks:
|
||||
- {{ authentik_outpost_ldap_network }}
|
||||
{% if authentik_outpost_ldap_authentik_network is defined %}
|
||||
- {{ authentik_outpost_ldap_authentik_network }}
|
||||
{% endif %}
|
||||
|
||||
networks:
|
||||
{{ authentik_outpost_ldap_network }}:
|
||||
external: true
|
||||
{% if authentik_outpost_ldap_authentik_network is defined %}
|
||||
{{ authentik_outpost_ldap_authentik_network }}:
|
||||
external: true
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue