add custom email templates

This commit is contained in:
2023-07-20 19:31:20 +02:00
parent 159f9d767d
commit 48a3529a7e
3 changed files with 16 additions and 0 deletions
+6
View File
@@ -87,6 +87,12 @@ Run this command after every deploy/upgrade:
`abra app command --local <app-name> customize <assets_path>`
## Email templates
Add custom [email templates](https://goauthentik.io/docs/flow/stages/email/#custom-templates):
`abra app cmd -l <app_name> add_email_templates local/path/to/mail_template.html`
## Blueprints
Blueprint Dependency Requirements:
+7
View File
@@ -149,6 +149,13 @@ quieten(){
grep -v '{"event"'
}
add_email_templates(){
for file_path in "$@"; do
echo copy template $file_path
abra app cp $APP_NAME $file_path app:/templates/
done
}
set_icons(){
for icon in $APP_ICONS; do
app=$(echo $icon | cut -d ":" -f1)
+3
View File
@@ -43,6 +43,7 @@ services:
volumes:
- media:/media
- assets:/web/dist/assets
- templates:/templates
configs:
- source: custom_css
target: /web/dist/custom.css
@@ -91,6 +92,7 @@ services:
- backups:/backups
- media:/media
- /dev/null:/blueprints/default/flow-oobe.yaml
- templates:/templates
configs:
- source: flow_recovery
target: /blueprints/1_flow_recovery.yaml
@@ -167,6 +169,7 @@ networks:
volumes:
backups:
media:
templates:
assets:
database: