diff --git a/README.md b/README.md index 46ae55d..a7b8a77 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ Default login is `wallabag:wallabag`. - `-e SYMFONY__ENV__REDIS_PASSWORD=...` (defaults to "~", this is the password defined in the Redis server configuration) - `-e SYMFONY__ENV__SENTRY_DSN=...` (defaults to "~", this is the data source name for sentry) - `-e POPULATE_DATABASE=...`(defaults to "True". Does the DB has to be populated or is it an existing one) +- `-e SYMFONY__ENV__SERVER_NAME=...` (defaults to "Your wallabag instance". Specifies a user-friendly name for the 2FA issuer) ## SQLite @@ -127,6 +128,7 @@ services: - SYMFONY__ENV__MAILER_PASSWORD=~ - SYMFONY__ENV__FROM_EMAIL=wallabag@example.com - SYMFONY__ENV__DOMAIN_NAME=https://your-wallabag-url-instance.com + - SYMFONY__ENV__SERVER_NAME="Your wallabag instance" ports: - "80" volumes: diff --git a/root/etc/ansible/entrypoint.yml b/root/etc/ansible/entrypoint.yml index 779120e..f176fd6 100644 --- a/root/etc/ansible/entrypoint.yml +++ b/root/etc/ansible/entrypoint.yml @@ -36,6 +36,7 @@ redis_path: "{{ lookup('env', 'SYMFONY__ENV__REDIS_PATH')|default('~', true) }}" redis_password: "{{ lookup('env', 'SYMFONY__ENV__REDIS_PASSWORD')|default('~', true) }}" sentry_dsn: "{{ lookup('env', 'SYMFONY__ENV__SENTRY_DSN')|default('~', true) }}" + server_name: "{{ lookup('env', 'SYMFONY__ENV__SERVER_NAME')|default('Your wallabag instance', true) }}" tasks: diff --git a/root/etc/ansible/templates/parameters.yml.j2 b/root/etc/ansible/templates/parameters.yml.j2 index 3b5a106..f01cc5c 100644 --- a/root/etc/ansible/templates/parameters.yml.j2 +++ b/root/etc/ansible/templates/parameters.yml.j2 @@ -58,3 +58,6 @@ parameters: # sentry logging sentry_dsn: {{ sentry_dsn }} + + # User-friendly name of your instance for 2FA issuer + server_name: {{ server_name }}