Code dealing with the environment variables resides in here where each attribute has an annotation which is the lowercase of the environment variable name.
At the moment the application is sourcing the following from the environment:
OTEL_GRPC_ENDPOINT
- needed if we want to use the otel grpc exporter for tracesOTEL_HTTP_ENDPOINT
- needed if we want to use the otel http exporter for traces (if grpc is specified this gets unused)TRACING_ENABLED
- switch for tracing, defaults to enabled (true
)LOG_LEVEL
- log level, defaults toerror
LOG_FILE
- log file which the log rotator will write into, make sure application user has permissions to write, defaults tolog.txt
PORT
- http server port, defaults to8000
KRATOS_PUBLIC_URL
- address of kratos apisHYDRA_ADMIN_URL
- address of hydra admin apis