add custom email templates
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
566bffb7af
commit
4972e3b141
|
@ -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
|
||||
|
||||
These blueprints overwrite default blueprint values:
|
||||
|
|
7
abra.sh
7
abra.sh
|
@ -170,6 +170,13 @@ quieten(){
|
|||
grep -v -e '{"event"' -e '{"action"'
|
||||
}
|
||||
|
||||
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)
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue