Skip to content

Commit

Permalink
Add new environment variables to the example environment file.
Browse files Browse the repository at this point in the history
These are added as commented out so that the default `application.yml` settings are used.

The `APP_DATALOADER_INITIALIZE` should only be `true` for the initial setup but after that it is recommended to set this to `false`.

The `APP_FILTER_EMBARGOTYPENONE` and `APP_FILTER_SUBMISSIONTYPENONE` should be set to `None` as the default.
These can be changed as needed, such as setting `APP_FILTER_SUBMISSIONTYPENONE` to `Unknown`.
  • Loading branch information
kaladay committed May 8, 2024
1 parent e0fb780 commit b861431
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions example.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##############################
# Create a .env file next to
# Create a .env file next to
# this one with actual values.
##############################

Expand Down Expand Up @@ -30,12 +30,14 @@ SPRING_DATASOURCE_DRIVERCLASSNAME=org.postgresql.Driver
SPRING_DATASOURCE_USERNAME=vireo
SPRING_DATASOURCE_PASSWORD=vireo


# location to place templated appConfig.js
APP_PATH=/var/vireo
# must match directory of APP_PATH
APP_CONFIG_URI=file:/var/vireo/appConfig.js
APP_ASSETS_URI=file:/var/vireo/
#APP_DATALOADER_INITIALIZE=false
#APP_FILTER_EMBARGOTYPENONE=None
#APP_FILTER_SUBMISSIONTYPENONE=Unknown

AUTH_SECURITY_JWT_SECRET=verysecretsecret
AUTH_SECURITY_JWT_ISSUER=vireo
Expand Down

0 comments on commit b861431

Please sign in to comment.