forked from coop-cloud/authentik
Compare commits
4 Commits
1.1.0+2022
...
0.7.0+2022
Author | SHA1 | Date | |
---|---|---|---|
c07909575c | |||
45f649e499 | |||
c8100f0f4b | |||
335a65cc86 |
@ -1,7 +1,7 @@
|
||||
TYPE=authentik
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
DOMAIN={{ .Domain }}
|
||||
DOMAIN=authentik.example.com
|
||||
AUTHENTIK_POSTGRESQL__USER=authentik
|
||||
AUTHENTIK_POSTGRESQL__NAME=authentik
|
||||
AUTHENTIK_POSTGRESQL__HOST=db
|
||||
@ -21,7 +21,7 @@ AUTHENTIK_LOG_LEVEL=info
|
||||
|
||||
# Secret Versions
|
||||
SECRET_SECRET_KEY_VERSION=v1
|
||||
SECRET_DB_PASSWORD_VERSION=V1
|
||||
SECRET_DB_PASSWORD_VERSION=v1
|
||||
SECRET_ADMIN_TOKEN_VERSION=v1
|
||||
SECRET_ADMIN_PASS_VERSION=v1
|
||||
SECRET_EMAIL_PASS_VERSION=v1
|
||||
|
1
abra.sh
1
abra.sh
@ -1,6 +1,5 @@
|
||||
export CUSTOM_CSS_VERSION=v2
|
||||
export CUSTOM_FLOWS_VERSION=v2
|
||||
export RECOVERY_TEMPLATE_DE_VERSION=v1
|
||||
|
||||
customize() {
|
||||
if [ -z "$1" ]
|
||||
|
@ -41,8 +41,6 @@ services:
|
||||
configs:
|
||||
- source: custom_css
|
||||
target: /web/dist/custom.css
|
||||
- source: recovery_template_de
|
||||
target: /templates/password_reset_de.html
|
||||
networks:
|
||||
- internal
|
||||
- proxy
|
||||
@ -69,7 +67,7 @@ services:
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.customFrameOptionsValue=SAMEORIGIN"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.contentSecurityPolicy=frame-ancestors ${X_FRAME_OPTIONS_ALLOW_FROM}"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.1.0+2022.11.1"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.7.0+2022.11.1"
|
||||
|
||||
worker:
|
||||
image: ghcr.io/goauthentik/server:2022.11.1
|
||||
@ -96,7 +94,7 @@ services:
|
||||
environment: *env
|
||||
|
||||
db:
|
||||
image: postgres:12.12-alpine
|
||||
image: postgres:12.13-alpine
|
||||
secrets:
|
||||
- db_password
|
||||
volumes:
|
||||
@ -164,9 +162,6 @@ configs:
|
||||
name: ${STACK_NAME}_custom_css_${CUSTOM_CSS_VERSION}
|
||||
file: custom.css.tmpl
|
||||
template_driver: golang
|
||||
recovery_template_de:
|
||||
name: ${STACK_NAME}_recovery_template_de_${RECOVERY_TEMPLATE_DE_VERSION}
|
||||
file: password_reset_de.html
|
||||
custom_flows:
|
||||
name: ${STACK_NAME}_custom_flows_${CUSTOM_FLOWS_VERSION}
|
||||
file: custom_flows.yaml.tmpl
|
||||
|
@ -10,7 +10,6 @@ context:
|
||||
transl_password_repeat: {{ if eq (env "DEFAULT_LANGUAGE") "de" }} Passwort (wiederholen) {{ else }} Password (repeat) {{ end }}
|
||||
transl_username: {{ if eq (env "DEFAULT_LANGUAGE") "de" }} Benutzername {{ else }} Username {{ end }}
|
||||
transl_name: {{ if eq (env "DEFAULT_LANGUAGE") "de" }} Vor- und Nachname {{ else }} Full name {{ end }}
|
||||
transl_template_recovery: {{ if eq (env "DEFAULT_LANGUAGE") "de" }} password_reset_de.html {{ else }} email/password_reset.html {{ end }}
|
||||
|
||||
entries:
|
||||
######## Email Recovery Flow ########
|
||||
@ -57,7 +56,7 @@ entries:
|
||||
use_global_settings: true
|
||||
token_expiry: 30
|
||||
subject: authentik
|
||||
template: !Context transl_template_recovery
|
||||
template: email/password_reset.html
|
||||
activate_user_on_success: true
|
||||
- identifiers:
|
||||
name: default-recovery-user-write
|
||||
|
Reference in New Issue
Block a user