From 1326fc68bf89808818d196f1430bdea455b16b1a Mon Sep 17 00:00:00 2001 From: Yaw Anokwa Date: Fri, 23 Apr 2021 14:16:31 -0700 Subject: [PATCH] ops: use env template to allow evolution of env and prevent merge conflicts --- .env | 5 ----- .env.template | 12 ++++++++++++ 2 files changed, 12 insertions(+), 5 deletions(-) delete mode 100644 .env create mode 100644 .env.template diff --git a/.env b/.env deleted file mode 100644 index 16f62520c..000000000 --- a/.env +++ /dev/null @@ -1,5 +0,0 @@ -SSL_TYPE=selfsign|letsencrypt|customssl|upstream -DOMAIN=local|your.domain.com -SYSADMIN_EMAIL=administrator@email.com -HTTP_PORT=80 -HTTPS_PORT=443 diff --git a/.env.template b/.env.template new file mode 100644 index 000000000..78ad39638 --- /dev/null +++ b/.env.template @@ -0,0 +1,12 @@ +# Use fully qualified domain names. Set to DOMAIN=local if SSL_TYPE=selfsign. +DOMAIN=your.domain.com + +# Used for Let's Encrypt expiration emails and Enketo technical support emails +SYSADMIN_EMAIL=administrator@email.com + +# Options: letsencrypt, customssl, upstream, selfsign +SSL_TYPE=letsencrypt + +# Do not change if using SSL_TYPE=letsencrypt +HTTP_PORT=80 +HTTPS_PORT=443