summarylogtreecommitdiffstats
path: root/env.sample
diff options
context:
space:
mode:
authorKuoi2023-02-10 16:16:42 +0800
committerKuoi2023-02-10 16:16:42 +0800
commit35b71f60a43af0b637d5d0287005eedc91e49033 (patch)
tree0978dda77b4730e1c6b7f5f8ec84eaad027107d0 /env.sample
parentbb1ae320debc8c42e5c193ec627cbbe409e13cb0 (diff)
downloadaur-plume.tar.gz
make PKGBUILD work under devtools and openssl issue
Diffstat (limited to 'env.sample')
-rw-r--r--env.sample28
1 files changed, 28 insertions, 0 deletions
diff --git a/env.sample b/env.sample
new file mode 100644
index 000000000000..7047654a0509
--- /dev/null
+++ b/env.sample
@@ -0,0 +1,28 @@
+# The address of the database
+# (replace USER, PASSWORD, PORT and DATABASE_NAME with your values)
+#
+# If you are using SQlite, use the full path of the database file (`plume.db` for instance)
+# Windows user's paths are backslashes, change them to forward slashes
+#DATABASE_URL=/etc/path/to/Plume/plume.db
+DATABASE_URL=postgres://USER:PASSWORD@IP:PORT/DATABASE_NAME
+
+# For PostgreSQL: migrations/postgres
+# For SQlite: migrations/sqlite
+MIGRATION_DIRECTORY=migrations/postgres
+
+# The domain on which your instance will be available
+BASE_URL=plu.me
+
+# Secret key used for private cookies and CSRF protection
+# You can generate one with `openssl rand -base64 32`
+ROCKET_SECRET_KEY=
+
+# Mail settings
+# If you don't want to setup a mail server and/or address for plume
+# and don't plan to use the "password reset" feature,
+# you can comment these lines.
+MAIL_SERVER=smtp.example.org
+MAIL_USER=example
+MAIL_PASSWORD=123456
+MAIL_HELO_NAME=example.org
+MAIL_ADDRESS=from@example.org