authentik: Make tag configurable

This commit is contained in:
uumas
2024-09-28 03:31:45 +03:00
parent 2cef674456
commit 5692cadea5
3 changed files with 8 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
---
authentik_tag: latest
authentik_env: {}
docker_networks:
- name: authentik

View File

@@ -5,6 +5,11 @@ argument_specs:
short_description: Authentik container
description: "Sets up an authentik docker container."
options:
authentik_tag:
description: 'Authentik version to use. Can be minor (2024.8) or patch (2024.8.1) or "latest".'
type: str
required: false
default: latest
authentik_env:
description: "dict of custom environment variables for authentik container"
type: dict

View File

@@ -9,7 +9,7 @@
name: service
vars:
docker_service: authentik
docker_image: beryju/authentik:latest
docker_image: "beryju/authentik:{{ authentik_tag }}"
docker_command:
- server
docker_image_http_port: 9000
@@ -31,7 +31,7 @@
vars:
docker_namespace: authentik
docker_service: worker
docker_image: beryju/authentik:latest
docker_image: "beryju/authentik:{{ authentik_tag }}"
docker_command:
- worker
reverse_proxy_type: none