diff --git a/.env b/.env new file mode 100644 index 0000000..2280436 --- /dev/null +++ b/.env @@ -0,0 +1,81 @@ +## Core Settings +# Where to store databases, can be a CouchDB compatible server or directory. +DB_PREFIX=dbs/ +# Location of DB log file (if needed for debugging). +DB_LOG_FILE=/dev/null +# Where to send someone if they need to log in +DEFAULT_FAILURE_REDIRECT=/login +# Port to listen on +PORT=80 +# Expose the internal PouchDB with CouchDB API and Fauxton browser. Mostly used for debugging. Leave empty to disable. +DB_EXPOSE_PORT= +# Proxy to send item data requests to. Leave empty to disable. +PROXY_SERVER= +# Secret string to store session cookies with. Automatically generated if not provided. +SECRET= +# How long a user is logged in (milliseconds). Defaults to one week. +SESSION_MAX_AGE=604800000 +# The name of the site in the
Some custom text for the Login page
+# CUSTOM_HTML_WISHLISTS= + +# Custom CSS stylesheet +# If you wish to include a custom stylesheet you can add the filename in the variable here. +# Remember to add the stylesheet to the filesystem at `static/css/custom.css`. In docker, mount `/usr/src/app/src/static/css/custom.css`. +# CUSTOM_CSS=custom.css + +## Google Client Details +# You can configure single sign-on to your Christmas Community instance using Google accounts. Read this guide for details of what to configure on the Google side: https://developers.google.com/identity/openid-connect/openid-connect +# Once you've created a client ID and secret in your Google project use the below environment variables to enable SSO + +# GOOGLE_CLIENT_ID= +# GOOGLE_CLIENT_SECRET= + +## OIDC Provider Details +# You can configure single sign-on to your Christmas Community instance using any OIDC provider. +# Once you've created a client ID and secret in your authentication provider use the below environment variables to enable single sign on. +# The values specified below are the defaults +# OIDC_CLIENT_ID= +# OIDC_CLIENT_SECRET= +# OIDC_AUTHORIZATION_URL=https://accounts.google.com/o/oauth2/auth +# OIDC_TOKEN_URL=https://oauth2.googleapis.com/token +# OIDC_ISSUER=https://accounts.google.com +# OIDC_PROVIDER_NAME=Google +# OIDC_AUTO_CREATE_USER=false + + +# Profile picture upload max size in MB +UPLOAD_PFP_MAX_SIZE=5 \ No newline at end of file