forked from UnityFoundation-io/Libre311
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetenv.sh.example
More file actions
27 lines (21 loc) · 1.14 KB
/
setenv.sh.example
File metadata and controls
27 lines (21 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
export GCP_PROJECT_ID=<GCP_PROJECT_ID>
# Don't set MICRONAUT_SERVER_PORT environment variable since it seems to be picked
# up by both the app and the Test Resources server which cause port conflict.
# Instead, set port for the app in the application-*.yml file for the
# specific config environment, e.g., application-local.yml.
export VITE_BACKEND_URL=<VITE_BACKEND_URL> # Example: http://localhost:8080
export STORAGE_BUCKET_ID=<STORAGE_BUCKET_ID>
export GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>
export GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET>
export RECAPTCHA_SECRET=<RECAPTCHA_SECRET>
export VITE_GOOGLE_RECAPTCHA_KEY=<RECAPTCHA_KEY>
# Set URLs for auth provider if different than the default values
# provided in the corresponding config file, e.g.,
# app/src/main/resources/application-local.yml for local environment.
export AUTH_BASE_URL=<AUTH_BASE_URL>
export AUTH_JWKS=<AUTH_JWKS>
# Update these if necessary, for example, to use a local database
#export DATASOURCES_DEFAULT_URL=<DATASOURCES_DEFAULT_URL>
#export DATASOURCES_DEFAULT_USERNAME=<DATASOURCES_DEFAULT_USERNAME>
#export DATASOURCES_DEFAULT_PASSWORD=<DATASOURCES_DEFAULT_PASSWORD>