`python3 -m pip --no-cache-dir install common --index-url https://code.ornl.gov/api/v4/projects/10568/packages/pypi/simple --trusted-host code.ornl.gov`
@@ -26,13 +26,13 @@ To initiate a release, increment the value in `COMMON_VERSION` run `./release.sh
### Configuration via Environment Variables
Below is a list of environmental variables and what they do:
- DATABASE_TIMEOUT: an integer representing the seconds to wait before deciding a timeout occurred.
- DATABASE_DB: a string representing the database to connect to
- DATABASE_USER: a string representing the user to connect to the database as
- DATABASE_PW: a string representing the password for the DATABASE_USER
- DATABASE_HOST: a string representing the hostname or IP address hosting the database
- DATABASE_PORT: an integer representing the port to connect to the database on
- DATABASE_SCHEMA: a string representing the schema to default to when creating a database connection
- DATABASE_TIMEOUT, PG_TIMEOUT: an integer representing the seconds to wait before deciding a timeout occurred.
- DATABASE_DB, PG_DATABASE: a string representing the database to connect to
- DATABASE_USER, PG_USER: a string representing the user to connect to the database as
- DATABASE_PW, PG_PASSWORD: a string representing the password for the DATABASE_USER
- DATABASE_HOST, PG_HOST: a string representing the hostname or IP address hosting the database
- DATABASE_PORT, PG_PORT: an integer representing the port to connect to the database on
- DATABASE_SCHEMA, PG_SCHEMA: a string representing the schema to default to when creating a database connection
These evironmental variables have been assigned default values for the Docker container in the file `envfile`, which is called in `docker-compose.yaml` and `docker-compose.test.yaml`