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>`
|
`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
|
## Blueprints
|
||||||
|
|
||||||
These blueprints overwrite default blueprint values:
|
These blueprints overwrite default blueprint values:
|
||||||
|
|
7
abra.sh
7
abra.sh
|
@ -170,6 +170,13 @@ quieten(){
|
||||||
grep -v -e '{"event"' -e '{"action"'
|
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(){
|
set_icons(){
|
||||||
for icon in $APP_ICONS; do
|
for icon in $APP_ICONS; do
|
||||||
app=$(echo $icon | cut -d ":" -f1)
|
app=$(echo $icon | cut -d ":" -f1)
|
||||||
|
|
|
@ -43,6 +43,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- media:/media
|
- media:/media
|
||||||
- assets:/web/dist/assets
|
- assets:/web/dist/assets
|
||||||
|
- templates:/templates
|
||||||
configs:
|
configs:
|
||||||
- source: custom_css
|
- source: custom_css
|
||||||
target: /web/dist/custom.css
|
target: /web/dist/custom.css
|
||||||
|
@ -91,6 +92,7 @@ services:
|
||||||
- backups:/backups
|
- backups:/backups
|
||||||
- media:/media
|
- media:/media
|
||||||
- /dev/null:/blueprints/default/flow-oobe.yaml
|
- /dev/null:/blueprints/default/flow-oobe.yaml
|
||||||
|
- templates:/templates
|
||||||
configs:
|
configs:
|
||||||
- source: flow_recovery
|
- source: flow_recovery
|
||||||
target: /blueprints/1_flow_recovery.yaml
|
target: /blueprints/1_flow_recovery.yaml
|
||||||
|
@ -167,6 +169,7 @@ networks:
|
||||||
volumes:
|
volumes:
|
||||||
backups:
|
backups:
|
||||||
media:
|
media:
|
||||||
|
templates:
|
||||||
assets:
|
assets:
|
||||||
database:
|
database:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue