-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.envrc.example
48 lines (38 loc) · 3.23 KB
/
.envrc.example
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Rename this file `.envrc` and use it during development.
# Secrets should be kept in a vault or passed through environments
# and never stored in Git.
# If you want use these, remember to start VSCode or your IDE after `direnv allow`
# use Spring profiles as 'localopen' for testing locally with no authentication, `sandbox` for testing with auth in localhost , `devl`, `stage`, `prod`
export sandbox_TECHBD_UDI_DS_PRIME_JDBC_URL=jdbc:postgresql://aws.neon.tech/persistence-prime
export sandbox_TECHBD_UDI_DS_PRIME_JDBC_USERNAME=persistence-prime
export sandbox_TECHBD_UDI_DS_PRIME_JDBC_PASSWORD=**********
# these are the `orchctl.ts` SFTP accounts that will be made browsable;
# ensure sequence of _0_, _1_, etc. are correct, they map to
# org.techbd.orchestrate.sftp.account.orchctlts in application.yml
export ORG_TECHBD_ORCHESTRATE_SFTP_ACCOUNT_ORCHCTLTS_0_TENANTID=qeName1
export ORG_TECHBD_ORCHESTRATE_SFTP_ACCOUNT_ORCHCTLTS_0_SERVER=sftp.techbd.org
export ORG_TECHBD_ORCHESTRATE_SFTP_ACCOUNT_ORCHCTLTS_0_PORT=22
export ORG_TECHBD_ORCHESTRATE_SFTP_ACCOUNT_ORCHCTLTS_0_USERNAME=un1
export ORG_TECHBD_ORCHESTRATE_SFTP_ACCOUNT_ORCHCTLTS_0_PASSWORD=pw1
export ORG_TECHBD_ORCHESTRATE_SFTP_ACCOUNT_ORCHCTLTS_1_TENANTID=qeName2
export ORG_TECHBD_ORCHESTRATE_SFTP_ACCOUNT_ORCHCTLTS_1_SERVER=sftp.techbd.org
export ORG_TECHBD_ORCHESTRATE_SFTP_ACCOUNT_ORCHCTLTS_1_PORT=22
export ORG_TECHBD_ORCHESTRATE_SFTP_ACCOUNT_ORCHCTLTS_1_USERNAME=un2
export ORG_TECHBD_ORCHESTRATE_SFTP_ACCOUNT_ORCHCTLTS_1_PASSWORD=pw2
export SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_GITHUB_CLIENT_ID=github-auth-app-client-id
export SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_GITHUB_CLIENT_SECRET=github-auth-app-client-secret
# URL and associated API token to get list of authorized users, only works via environment (not Spring properties)
export ORG_TECHBD_SERVICE_HTTP_GITHUB_AUTHZ_USERS_YAML_URL=https://raw.githubusercontent.com/tech-by-design/infrastructure-prime/main/sensitive/oauth2-github-authz.yml
export ORG_TECHBD_SERVICE_HTTP_GITHUB_API_AUTHN_TOKEN=*********
# Set the workspace editor to VS Code local or remote (with given distro/host)
# export UPI_WS_EDITOR=vscode-wsl # also supply UPI_WS_EDITOR_VSCODE_REMOTE_DISTRO Files will be accessible as vscode://vscode-remote/wsl+DISTRO/home/username/src/somedir/file.txt:1
# export UPI_WS_EDITOR=vscode-ssh-remote # also supply UPI_WS_EDITOR_VSCODE_REMOTE_HOSTNAME Files will be accessible as vscode://vscode-remote/ssh-remote+HOSTNAME/home/username/src/somedir/file.txt:1
# export UPI_WS_EDITOR=vscode-windows # Files will be accessible as vscode://file/home/username/src/somedir/file.txt:1
# export UPI_WS_EDITOR=vscode-linux # Files will be accessible as vscode://file/home/username/src/somedir/file.txt:1
# export UPI_WS_EDITOR=vscode-mac # Files will be accessible as vscode://file/home/username/src/somedir/file.txt:1
export UPI_WS_EDITOR=vscode-wsl
export UPI_WS_EDITOR_VSCODE_REMOTE_DISTRO=Debian
# Variable to store the application log file. '.log' will be automatically added, so it does not need to be specified.
export ORG_TECHBD_HUB_PRIME_LOG_FILE= #Path to the log file with file name (${HOME}/log/techbd/hub-prime/hub-prime-application)
## Set the base URL
export TECHBD_HUB_PRIME_BASE_URL=http://localhost:8080