Setting Up Docker Container
To set the Docker container for the API Proxy, you need to provide it with a few environment variables. We highly recommend keeping these variables outside of your version control system.
Below, is the list of supported environment variables:
Name | Description |
---|---|
GEROSENSE_API_HOST* | The API host assigned to your account |
GEROSENSE_API_ACCOUNT* | Your account name |
GEROSENSE_API_ACCOUNT_PASSWORD* | Your account password |
JWT_SECRET* | Configuration for the JWT secret used to authenticate your users. See below for details |
HOST | The host on which |
PORT | The port on which |
JWT_SECRET Configuration
JWT_SECRET
is an JSON object with the following fields:
Field | Description |
---|---|
type | The type of your JWT secret. Don't specify it if you use |
key | Your JWT secret key. Don't specify it if you use In the case of an asymmetric key (RSA, EdDSA, ECDSA, etc.), only the public key is in a PEM-encoded string or as an X509 certificate. |
jwk_url | JSON Web Key URL.
For Firebase, use:
|
audience | One or multiple supported audiences.
For Firebase, use your project ID.
For Supabase, by default, authenticated users have |
issuer* | Issuer of the token.
For Firebase, use: |
Last updated