feat: add ability to provision using blueprints
This commit is contained in:
parent
f814496049
commit
3f8afa12ef
4 changed files with 96 additions and 0 deletions
|
|
@ -29,7 +29,13 @@ services:
|
|||
AUTHENTIK_POSTGRESQL__PASSWORD: {{ authentik_postgres_password }}
|
||||
AUTHENTIK_LOG_LEVEL: {{ authentik_log_level }}
|
||||
AUTHENTIK_ERROR_REPORTING__ENABLED: "{{ authentik_error_reporting_enabled | lower }}"
|
||||
{% if authentik_blueprint_env|length > 0 %}
|
||||
{% for k, v in authentik_blueprint_env.items() %}
|
||||
{{ k }}: "{{ v }}"
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
volumes:
|
||||
- {{ authentik_docker_volume_dir }}/blueprints:/blueprints
|
||||
- {{ authentik_docker_volume_dir }}/data:/data
|
||||
- {{ authentik_docker_volume_dir }}/templates:/templates
|
||||
depends_on:
|
||||
|
|
@ -63,10 +69,16 @@ services:
|
|||
AUTHENTIK_POSTGRESQL__PASSWORD: {{ authentik_postgres_password }}
|
||||
AUTHENTIK_LOG_LEVEL: {{ authentik_log_level }}
|
||||
AUTHENTIK_ERROR_REPORTING__ENABLED: "{{ authentik_error_reporting_enabled | lower }}"
|
||||
{% if authentik_blueprint_env|length > 0 %}
|
||||
{% for k, v in authentik_blueprint_env.items() %}
|
||||
{{ k }}: "{{ v }}"
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
volumes:
|
||||
- {{ authentik_docker_volume_dir }}/data:/data
|
||||
- {{ authentik_docker_volume_dir }}/certs:/certs
|
||||
- {{ authentik_docker_volume_dir }}/templates:/templates
|
||||
- {{ authentik_docker_volume_dir }}/blueprints:/blueprints
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue