template.yaml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ---
  2. kind: compose
  3. metadata:
  4. name: Authentik
  5. description: |-
  6. Integrate Authentik Single Sign-On (SSO) for secure and streamlined user authentication.
  7. Authentik is an open-source identity provider that supports various authentication protocols.
  8. This configuration enables OAuth-based SSO, allowing users to log in using their Authentik
  9. credentials, enhancing security and user experience.
  10. ## Prerequisites
  11. - :warning: The `authentik_secret_key` must be generated using the following command
  12. according to the official documentation.
  13. ```bash
  14. echo "$(openssl rand -base64 60 | tr -d '\n')"
  15. ```
  16. ## References
  17. * **Project:** https://goauthentik.io/
  18. * **Documentation:** https://goauthentik.io/docs/
  19. * **GitHub:** https://github.com/goauthentik/authentik
  20. icon:
  21. provider: selfh
  22. id: authentik
  23. next_steps: |-
  24. Log in with your initial admin user:
  25. ```bash
  26. Username: akadmin
  27. Password: {{ authentik_admin_password }}
  28. ```
  29. version: 2025.10.1
  30. author: Christian Lempa
  31. date: '2025-11-05'
  32. tags:
  33. - traefik
  34. - volume
  35. schema: "1.2"
  36. spec:
  37. general:
  38. vars:
  39. service_name:
  40. default: authentik
  41. database:
  42. vars:
  43. database_name:
  44. default: authentik
  45. database_user:
  46. default: authentik
  47. ports:
  48. vars:
  49. ports_http:
  50. default: 8000
  51. ports_https:
  52. default: 8443
  53. traefik:
  54. vars:
  55. traefik_host:
  56. default: authentik
  57. authentik:
  58. description: Configure Authentik application settings
  59. required: true
  60. vars:
  61. authentik_secret_key:
  62. description: Secret Key
  63. extra: Used for cookie signing and unique user IDs
  64. type: str
  65. sensitive: true
  66. required: true
  67. authentik_admin_password:
  68. description: Initial admin user password
  69. type: str
  70. sensitive: true
  71. autogenerated: true
  72. authentik_error_reporting:
  73. description: Enable error reporting to Authentik developers
  74. type: bool