feat: support default locales
continuous-integration/drone/push Build is failing Details

This commit is contained in:
decentral1se 2021-10-26 10:57:20 +02:00
parent a27badcb12
commit c0d2b7b3ce
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
4 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,8 @@ LETS_ENCRYPT_ENV=production
SECRET_ADMIN_PASSWORD_VERSION=v1
DEFAULT_LOCALES="fr_FR fr_FR.UTF-8 en_GB en_GB.UTF-8 en_US en_US.UTF-8 nl_NL nl_NL.UTF-8"
# MSSQL driver
COMPOSE_FILE="compose.yml:compose.mssql.yml"

View File

@ -1,4 +1,4 @@
export CUSTOM_ENTRYPOINT_VERSION=v6
export CUSTOM_ENTRYPOINT_VERSION=v7
export OIDC_CONF_VERSION=v1
export PAM_EXEC_OAUTH2_YAML_VERSION=v1
export PAM_SCRIPT_AUTH_VERSION=v3

View File

@ -12,6 +12,7 @@ services:
secrets:
- admin_password
environment:
- DEFAULT_LOCALES
- DOMAIN=${DOMAIN}
- PASSWORD_FILE=/run/secrets/admin_password
- ROOT=TRUE

View File

@ -38,4 +38,6 @@ echo 'auth requisite pam_exec.so log=/tmp/pam_exec.log expose_authtok /opt/pam-e
echo 'auth requisite pam_script.so' >> /etc/pam.d/common-auth
{{ end }}
locale-gen {{ env "DEFAULT_LOCALES" }}
exec "$@"