From 44312dd1b7eac7b2e88027bc8eb387631b16dd61 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Sat, 9 Jan 2021 01:15:21 -0800 Subject: [PATCH] move .env to example folder --- .env => examples/.env | 0 examples/.env.example | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) rename .env => examples/.env (100%) create mode 100644 examples/.env.example diff --git a/.env b/examples/.env similarity index 100% rename from .env rename to examples/.env diff --git a/examples/.env.example b/examples/.env.example new file mode 100644 index 0000000..4a3e4a5 --- /dev/null +++ b/examples/.env.example @@ -0,0 +1,29 @@ +SECRET_KEY= + +# i.e. an prosody server +# create a nologin unix user `useradd -r -s /sbin/nologin ` +LOGGING_XMPP_SERVER="example.com" +LOGGING_XMPP_SENDER="" +LOGGING_XMPP_PASSWORD="" +LOGGING_XMPP_RECIPIENT="@example.com" +LOGGING_XMPP_COMMAND="/usr/bin/sendxmpp" +LOGGING_XMPP_USE_TLS=1 + +# then create postrgresql role and database +# DATABASE_URL="postgresql://:@localhost/" +# alternatively for unix socket connection +DATABASE_URL="postgresql://:@/?host=/var/run/postgresql" +DATABASE_NAME="" +DATABASE_USER="" +DATABASE_PASSWORD="" + +MAIL_SERVER='smtp.googlemail.com' +MAIL_USE_TLS=1 +MAIL_PORT=587 +MAIL_USERNAME="@gmail.com" +MAIL_PASSWORD="" + +MAIL_ADMINS="@gmail.com" +EXTERNAL_URL="https://photo_app.example.com" + +PHOTO_URL="https://photos.example.com/"