forked from UnityFoundation-io/UnityAuth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetenv.sh.example
More file actions
16 lines (12 loc) · 817 Bytes
/
Copy pathsetenv.sh.example
File metadata and controls
16 lines (12 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
export MICRONAUT_ENVIRONMENTS=<MICRONAUT_ENVIRONMENTS> # Example: local
# Don't set MICRONAUT_SERVER_PORT environment variable since it seems to be picked
# up by both the UnityAuth server and the Test Resources server which cause port conflict.
# Instead, set port for the main server in the application-*.yml file for the
# specific config environment, e.g., application-local.yml.
export LIBRE311_UI_BASE_URL=<LIBRE311_UI_BASE_URL> # Example: http://localhost:3000
export VITE_BACKEND_URL=<VITE_BACKEND_URL> # Example: http://localhost:8081
# 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>