From 865f372d5a9c0866c7ec5215afb69d2916740c07 Mon Sep 17 00:00:00 2001 From: Ana Gelez Date: Wed, 30 Oct 2019 15:38:39 +0100 Subject: [PATCH] Add a sample .env file (#687) * Add a sample .env file As requested in https://github.com/Plume-org/docs/pull/60 * Keep domain names consistent --- .env.sample | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 .env.sample diff --git a/.env.sample b/.env.sample new file mode 100755 index 00000000..27bfd6ad --- /dev/null +++ b/.env.sample @@ -0,0 +1,47 @@ +# This file contains your instance configuration +# Some documentation about these variables is available here: +# https://docs.joinplu.me/environment/ + +## GENERAL SETTINGS ## + +# The directory containing database migrations +# For Postgres: migrations/postgres +# For SQlite: migrations/sqlite +MIGRATION_DIRECTORY=migrations/postgres + +# The URL of your database (or its path for SQlite databases) +DATABASE_URL=postgres://plume:plume@localhost/plume + +# The domain of your instance +BASE_URL=plu.me + +# The secret key for private cookies and CSRF protection +# You can generate one with `openssl rand -base64 32` +ROCKET_SECRET_KEY= + +# Port and address which Plume will use +ROCKET_PORT=7878 +ROCKET_ADDRESS=127.0.0.1 + +## MAIL CONFIG ## +#MAIL_SERVER=smtp.plu.me +#MAIL_ADDRESS=no-reply@plu.me +#MAIL_USER=plume +#MAIL_PASSWORD= +#MAIL_HELO_NAME=no-reply@plu.me + +## ADVANCED OPTIONS ## +#MEDIA_UPLOAD_DIRECTORY=static/media +#SEARCH_INDEX=search_index + +# Sample logo configuration +#PLUME_LOGO=icons/trwnh/paragraphs/plumeParagraphs.svg +#PLUME_LOGO_FAVICON=icons/trwnh/paragraphs/plumeParagraphs32.png +#PLUME_LOGO_48=icons/trwnh/paragraphs/plumeParagraphs48.png +#PLUME_LOGO_72=icons/trwnh/paragraphs/plumeParagraphs72.png +#PLUME_LOGO_96=icons/trwnh/paragraphs/plumeParagraphs96.png +#PLUME_LOGO_144=icons/trwnh/paragraphs/plumeParagraphs144.png +#PLUME_LOGO_160=icons/trwnh/paragraphs/plumeParagraphs160.png +#PLUME_LOGO_192=icons/trwnh/paragraphs/plumeParagraphs192.png +#PLUME_LOGO_256=icons/trwnh/paragraphs/plumeParagraphs256.png +#PLUME_LOGO_512=icons/trwnh/paragraphs/plumeParagraphs512.png