Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
content:serverbasics:docker-authentik [2025/04/10 10:10] – [Secure LDAP- Users with TOTP] Daniel | content:serverbasics:docker-authentik [2025/04/14 19:26] (aktuell) – [Secure LDAP- Users with TOTP] Daniel | ||
---|---|---|---|
Zeile 61: | Zeile 61: | ||
volumes: | volumes: | ||
- authentik_pgsql_data:/ | - authentik_pgsql_data:/ | ||
+ | - authentik_backup:/ | ||
#Defined in .env | #Defined in .env | ||
# environment: | # environment: | ||
Zeile 145: | Zeile 146: | ||
volumes: | volumes: | ||
authentik_pgsql_data: | authentik_pgsql_data: | ||
+ | authentik_backup: | ||
authentik_media: | authentik_media: | ||
authentik_custom_templates: | authentik_custom_templates: | ||
Zeile 178: | Zeile 180: | ||
and set the Password for the admin user '' | and set the Password for the admin user '' | ||
- | ===== Additional Doings | + | ===== Backup PostgresSQL Database |
+ | |||
+ | This is really VERY Important! The reason is, that every PostgresDB- Version has it own Database- File- Format and if you update Postgres from on Major Version to the next, you WILL NOT BE ABLE to start your DB with the old Volume- Data! | ||
+ | |||
+ | You NEED to have the DB-Backed up and restored to the next Version! | ||
+ | |||
+ | Create a File in your Docker- Dir named e.g. '' | ||
+ | < | ||
+ | |||
+ | # | ||
+ | # Make Postgres-Backup of Authentik | ||
+ | echo " | ||
+ | / | ||
+ | echo "Done Backup of Authentik-DB." | ||
+ | |||
+ | </ | ||
+ | |||
+ | Now add this script to '' | ||
Don't forget to extend your '' | Don't forget to extend your '' | ||
+ | |||
+ | If you Update the Major- Version, make sure to create a new Volume for your pgsql- data. | ||
+ | |||
===== Configuring ===== | ===== Configuring ===== | ||
Zeile 224: | Zeile 246: | ||
The Next time you are logging in with User and Password in Authentik, it will ask to setup a TOTP- Device. You can for example use [[https:// | The Next time you are logging in with User and Password in Authentik, it will ask to setup a TOTP- Device. You can for example use [[https:// | ||
- | Hint: There is also an default Flow for this to import in Authentik here https:// | + | Hint: There is also an default Flow for this to import in Authentik here [[https:// |
+ | |||
+ | == Current Bug == | ||
+ | |||
+ | At the time of writing this, there was a bug here: https:// | ||
+ | |||
+ | So if you have to enter the OTP twice, than go to Flows, click on '' | ||