From 1b91b9d907f239d768ac9679bea06282b9a9cda3 Mon Sep 17 00:00:00 2001 From: Jason Hoekstra <38012402+jasonh-edfi@users.noreply.github.com> Date: Thu, 13 Jun 2024 10:50:11 -0500 Subject: [PATCH] Update docker-deployment.md Adding information about .env.example to aide with https://tracker.ed-fi.org/browse/DI-1379 --- docs/docker-deployment.md | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/docs/docker-deployment.md b/docs/docker-deployment.md index 9fc9823f..268538fc 100644 --- a/docs/docker-deployment.md +++ b/docs/docker-deployment.md @@ -37,6 +37,65 @@ services: ... ``` +### Using .env.example + +Please see the reference [.env.example](https://github.com/Ed-Fi-Alliance-OSS/Ed-Fi-DataImport/blob/main/Compose/pgsql/.env.example) as a listing of available variables. + +Below is a copy of that file. Please note that some settings are commented out by default to disable the setting, however it could be uncommented to fit your production use case. + +``` +POSTGRES_USER= +POSTGRES_PASSWORD= +POSTGRES_PORT= + +ENCRYPTION_KEY= +TIME_ZONE= +USER_RECOVERY_TOKEN= + +# NOTE: PostgreSql is supported by default. If SqlServer is used, then environment section of the dataimport container +# within the docker compose file needs to be customized to have appropriate connection string +DATABASE_ENGINE= + +## Additional Configurable Settings +# NOTE: These appsettings need to be added to the environment section of the dataimport container within the docker compose file in order to take effect + +# Uncomment below to skip certificate validation for FTPS agents +# APPSETTINGS__ALLOWTESTCERTIFICATES: "true" + + +# Uncomment below allow arbitrary PowerShell code to run in preprocessors +# APPSETTINGS__USEPOWERSHELLWITHNORESTRICTIONS: "true" + + +# Uncomment and update to change logged in timeout rate +# APPSETTINGS__LOGINTIMEOUTINMINUTES: + + +### File Settings +# Uncomment the below to override upload / script path +## Must be a valid directory on the container. +## To use a location on the host machine, map a volume to the container and update this to match +# APPSETTINGS__SHARENAME: + +# Uncomment below to use Azure for file storage +# APPSETTINGS__FILEMODE: "Azure" +# CONNECTIONSTRINGS__STORAGECONNECTION: + + +### External Preprocessor Settings +# Uncomment below to enable experimental "External Process" preprocessors +# EXTERNALPREPROCESSORS__ENABLED: "false" +# Uncomment to override process timeout (default 5000) +# EXTERNALPREPROCESSORS__TIMEOUTINMILLISECONDS: + +# This will allow a web Form to contain more than the default limit of 1024 values. +# FORMOPTIONS__VALUECOUNTLIMIT: + + +# Uncomment below to skip certificate validation for HTTPS connections to the Ods Api +# APPSETTINGS__IGNORESCERTIFICATEERRORS: "true" +``` + ### Using a Released Data Import image You can use a released Data Import image by modifying the example compose file to use the released image as follows: