Integration of authentik role #1
2 changed files with 9 additions and 1 deletions
|
|
@ -51,4 +51,6 @@
|
|||
community.docker.docker_compose_v2:
|
||||
project_src: "{{ authentik_docker_compose_dir }}"
|
||||
state: present
|
||||
recreate: "{{ blueprints_changed | ternary('always', 'auto') }}"
|
||||
recreate: "{{ blueprints_changed | ternary('always', 'auto') }}"
|
||||
wait: true
|
||||
wait_timeout: 300
|
||||
|
|
@ -21,6 +21,12 @@ services:
|
|||
image: {{ authentik_image }}
|
||||
restart: unless-stopped
|
||||
command: server
|
||||
healthcheck:
|
||||
test: ["CMD", "ak", "healthcheck"]
|
||||
start_period: 30s
|
||||
interval: 10s
|
||||
retries: 5
|
||||
timeout: 5s
|
||||
environment:
|
||||
AUTHENTIK_SECRET_KEY: {{ authentik_secret_key }}
|
||||
AUTHENTIK_POSTGRESQL__HOST: postgres
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue