-
Notifications
You must be signed in to change notification settings - Fork 1
Environment Variables
Other than the standard Spring configuration environment variables, it is possible to configure some aspects of the tool.
Following a list of all the environment variables supported.
-
MAGIC_API_KEY
; set the first key for remote management.
-
DB_DBMS
; set the database engine to use (default:postgres
).Supported values are:
postgres
,mysql
,memory
(h2 database).Invalid parameters will fall back to keyword
memory
. -
DB_HOSTNAME
: url for the remote database (default:localhost
). -
DB_PORT
: port for the remote database (default:5432
). -
DB_SCHEMA
: name of the remote database (default:adaptive
). -
DB_USERNAME
: username for the remote database (default:ada
). -
DB_PASSWORD
: password for the remote database (default:ada
).
-
SERVER_SERVLET_CONTEXT-PATH
: change the context path of the application (default:/
).
-
KEYCLOAK_ENABLED
: If set totrue
use a Keycloak server for authentication (default:false
). -
KEYCLOAK_REALM
: Realm to use for Keycloak authentication. -
KEYCLOAK_AUTH_SERVER_URL
: URL to use as authentication server. -
KEYCLOAK_RESOURCE
: Name of the client in the Keycloak environment. -
KEYCLOAK_PRINCIPAL_ATTRIBUTE
: Principal attribute to use (default: "preferred_username"). -
ADAPQUEST_KEYCLOAK_ROLE
: Role to use for the standard user that will go through the survey (default:user
). -
ADAPQUEST_KEYCLOAK_ADMIN
: Role to use for the administration option (default:admin
).