template.yaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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.3
  30. author: Christian Lempa
  31. date: '2025-12-16'
  32. tags:
  33. - traefik
  34. - volume
  35. spec:
  36. general:
  37. vars:
  38. service_name:
  39. default: authentik
  40. database:
  41. vars:
  42. database_name:
  43. default: authentik
  44. database_user:
  45. default: authentik
  46. ports:
  47. vars:
  48. ports_http:
  49. default: 8000
  50. ports_https:
  51. default: 8443
  52. traefik:
  53. vars:
  54. traefik_host:
  55. default: authentik
  56. authentik:
  57. description: Configure Authentik application settings
  58. required: true
  59. vars:
  60. authentik_secret_key:
  61. description: Secret Key
  62. extra: Used for cookie signing and unique user IDs
  63. type: str
  64. sensitive: true
  65. required: true
  66. authentik_admin_password:
  67. description: Initial admin user password
  68. type: str
  69. sensitive: true
  70. autogenerated: true
  71. authentik_error_reporting:
  72. description: Enable error reporting to Authentik developers
  73. type: bool