564 lines
16 KiB
Bash
564 lines
16 KiB
Bash
# Environment variables for docker-compose.yml
|
|
PUID=1000
|
|
PGID=1000
|
|
LOG_LEVEL="INFO"
|
|
NETWORK="web"
|
|
TZ="Asia/Singapore"
|
|
## dashboard configs
|
|
HOST="localhost"
|
|
# TLD="lol"
|
|
# LOCALDOMAIN="$(hostname).${TLD}"
|
|
# DOMAIN="$(hostname).${TLD}"
|
|
# DOMAINNAME="$(hostname).${TLD}"
|
|
HOSTNAME="node00"
|
|
DATADIR="/home/furyhawk/media"
|
|
# subdomain for dashboard.
|
|
DASHBOARD_HOST="dashboard.furyhawk.lol"
|
|
|
|
## TLS configs
|
|
CERT_PATH=./certs
|
|
ACME_PATH=./acme.json
|
|
|
|
# The following are the environment variables for the streamlit app
|
|
FIN_LOCATION=""
|
|
STREAMLIT_FIN_SERVER_PORT="8501"
|
|
BAI_LOCATION=""
|
|
STREAMLIT_BAI_SERVER_PORT="8502"
|
|
|
|
# The following are the environment variables for the OSRM service
|
|
OSRM_ALGORITHM="mld"
|
|
OSRM_THREADS=2
|
|
OSRM_PORT=5000
|
|
OSRM_PROFILE="/opt/car.lua"
|
|
OSRM_MAP_NAME=""
|
|
OSRM_GEOFABRIK_PATH=""
|
|
# Notify OSRM Manager to restart without stopping container
|
|
OSRM_NOTIFY_FILEPATH="/data/osrm_notify.txt"
|
|
|
|
PROJECT_BASE=/flarum
|
|
MYSQL_ROOT_PASSWORD=123456
|
|
MYSQL_DATABASE=flarum
|
|
MYSQL_USER=admin
|
|
MYSQL_PASSWORD=123456
|
|
|
|
POSTGRES_DB=kestra
|
|
POSTGRES_USER=admin
|
|
POSTGRES_PASSWORD=12345678
|
|
PGADMIN_DEFAULT_EMAIL=youremail.com
|
|
PGADMIN_DEFAULT_PASSWORD=12345678
|
|
|
|
DATABASE__HOSTNAME=furyhawk.lol
|
|
DATABASE__USERNAME=admin
|
|
DATABASE__PASSWORD=12345678
|
|
DATABASE__PORT=5432
|
|
DATABASE__DB=default_db
|
|
|
|
SECURITY__JWT_SECRET_KEY=DVnFmhwvjEhJZpuhndxjhlezxQPJmBIIkMDEmFREWQADPcUnrG
|
|
SECURITY__BACKEND_CORS_ORIGINS=["http://localhost:3000","http://localhost:8000"]
|
|
SECURITY__ALLOWED_HOSTS=["localhost", "127.0.0.1"]
|
|
|
|
MINIO_ROOT_USER=admin
|
|
MINIO_ROOT_PASSWORD=123456
|
|
|
|
NEO4J_PASSWORD=12345678
|
|
|
|
SEARXNG_SECRET=ultrasecretkey
|
|
|
|
#=====================================================================#
|
|
# LibreChat Configuration #
|
|
#=====================================================================#
|
|
# Please refer to the reference documentation for assistance #
|
|
# with configuring your LibreChat environment. The guide is #
|
|
# available both online and within your local LibreChat #
|
|
# directory: #
|
|
# Online: https://docs.librechat.ai/install/configuration/dotenv.html #
|
|
# Locally: ./docs/install/configuration/dotenv.md #
|
|
#=====================================================================#
|
|
|
|
#==================================================#
|
|
# Server Configuration #
|
|
#==================================================#
|
|
|
|
HOST=localhost
|
|
PORT=3080
|
|
|
|
MONGO_URI=mongodb://127.0.0.1:27017/LibreChat
|
|
|
|
DOMAIN_CLIENT=http://localhost:3080
|
|
DOMAIN_SERVER=http://localhost:3080
|
|
|
|
NO_INDEX=true
|
|
|
|
#===============#
|
|
# JSON Logging #
|
|
#===============#
|
|
|
|
# Use when process console logs in cloud deployment like GCP/AWS
|
|
CONSOLE_JSON=false
|
|
|
|
#===============#
|
|
# Debug Logging #
|
|
#===============#
|
|
|
|
DEBUG_LOGGING=true
|
|
DEBUG_CONSOLE=false
|
|
|
|
#=============#
|
|
# Permissions #
|
|
#=============#
|
|
|
|
# UID=1000
|
|
# GID=1000
|
|
|
|
#===============#
|
|
# Configuration #
|
|
#===============#
|
|
# Use an absolute path, a relative path, or a URL
|
|
|
|
# CONFIG_PATH="/alternative/path/to/librechat.yaml"
|
|
|
|
#===================================================#
|
|
# Endpoints #
|
|
#===================================================#
|
|
|
|
ENDPOINTS=groq
|
|
#openAI,assistants,azureOpenAI,bingAI,google,gptPlugins,anthropic
|
|
|
|
PROXY=
|
|
|
|
#===================================#
|
|
# Known Endpoints - librechat.yaml #
|
|
#===================================#
|
|
# https://docs.librechat.ai/install/configuration/ai_endpoints.html
|
|
|
|
# GROQ_API_KEY=
|
|
# SHUTTLEAI_KEY=
|
|
# OPENROUTER_KEY=
|
|
# MISTRAL_API_KEY=
|
|
# ANYSCALE_API_KEY=
|
|
# FIREWORKS_API_KEY=
|
|
# PERPLEXITY_API_KEY=
|
|
# TOGETHERAI_API_KEY=
|
|
|
|
#============#
|
|
# Anthropic #
|
|
#============#
|
|
|
|
ANTHROPIC_API_KEY=user_provided
|
|
# ANTHROPIC_MODELS=claude-3-opus-20240229,claude-3-sonnet-20240229,claude-3-haiku-20240307,claude-2.1,claude-2,claude-1.2,claude-1,claude-1-100k,claude-instant-1,claude-instant-1-100k
|
|
# ANTHROPIC_REVERSE_PROXY=
|
|
|
|
#============#
|
|
# Azure #
|
|
#============#
|
|
|
|
|
|
# Note: these variables are DEPRECATED
|
|
# Use the `librechat.yaml` configuration for `azureOpenAI` instead
|
|
# You may also continue to use them if you opt out of using the `librechat.yaml` configuration
|
|
|
|
# AZURE_OPENAI_DEFAULT_MODEL=gpt-3.5-turbo # Deprecated
|
|
# AZURE_OPENAI_MODELS=gpt-3.5-turbo,gpt-4 # Deprecated
|
|
# AZURE_USE_MODEL_AS_DEPLOYMENT_NAME=TRUE # Deprecated
|
|
# AZURE_API_KEY= # Deprecated
|
|
# AZURE_OPENAI_API_INSTANCE_NAME= # Deprecated
|
|
# AZURE_OPENAI_API_DEPLOYMENT_NAME= # Deprecated
|
|
# AZURE_OPENAI_API_VERSION= # Deprecated
|
|
# AZURE_OPENAI_API_COMPLETIONS_DEPLOYMENT_NAME= # Deprecated
|
|
# AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME= # Deprecated
|
|
# PLUGINS_USE_AZURE="true" # Deprecated
|
|
|
|
#============#
|
|
# BingAI #
|
|
#============#
|
|
|
|
BINGAI_TOKEN=user_provided
|
|
# BINGAI_HOST=https://cn.bing.com
|
|
|
|
#============#
|
|
# Google #
|
|
#============#
|
|
|
|
GOOGLE_KEY=user_provided
|
|
# GOOGLE_MODELS=gemini-pro,gemini-pro-vision,chat-bison,chat-bison-32k,codechat-bison,codechat-bison-32k,text-bison,text-bison-32k,text-unicorn,code-gecko,code-bison,code-bison-32k
|
|
# GOOGLE_REVERSE_PROXY=
|
|
|
|
#============#
|
|
# OpenAI #
|
|
#============#
|
|
|
|
OPENAI_API_KEY=user_provided
|
|
# OPENAI_MODELS=gpt-3.5-turbo-0125,gpt-3.5-turbo-0301,gpt-3.5-turbo,gpt-4,gpt-4-0613,gpt-4-vision-preview,gpt-3.5-turbo-0613,gpt-3.5-turbo-16k-0613,gpt-4-0125-preview,gpt-4-turbo-preview,gpt-4-1106-preview,gpt-3.5-turbo-1106,gpt-3.5-turbo-instruct,gpt-3.5-turbo-instruct-0914,gpt-3.5-turbo-16k
|
|
|
|
DEBUG_OPENAI=false
|
|
|
|
# TITLE_CONVO=false
|
|
# OPENAI_TITLE_MODEL=gpt-3.5-turbo
|
|
|
|
# OPENAI_SUMMARIZE=true
|
|
# OPENAI_SUMMARY_MODEL=gpt-3.5-turbo
|
|
|
|
# OPENAI_FORCE_PROMPT=true
|
|
|
|
# OPENAI_REVERSE_PROXY=
|
|
|
|
# OPENAI_ORGANIZATION=
|
|
|
|
#====================#
|
|
# Assistants API #
|
|
#====================#
|
|
|
|
ASSISTANTS_API_KEY=user_provided
|
|
# ASSISTANTS_BASE_URL=
|
|
# ASSISTANTS_MODELS=gpt-3.5-turbo-0125,gpt-3.5-turbo-16k-0613,gpt-3.5-turbo-16k,gpt-3.5-turbo,gpt-4,gpt-4-0314,gpt-4-32k-0314,gpt-4-0613,gpt-3.5-turbo-0613,gpt-3.5-turbo-1106,gpt-4-0125-preview,gpt-4-turbo-preview,gpt-4-1106-preview
|
|
|
|
#============#
|
|
# OpenRouter #
|
|
#============#
|
|
# !!!Warning: Use the variable above instead of this one. Using this one will override the OpenAI endpoint
|
|
# OPENROUTER_API_KEY=
|
|
|
|
#============#
|
|
# Plugins #
|
|
#============#
|
|
|
|
# PLUGIN_MODELS=gpt-4,gpt-4-turbo-preview,gpt-4-0125-preview,gpt-4-1106-preview,gpt-4-0613,gpt-3.5-turbo,gpt-3.5-turbo-0125,gpt-3.5-turbo-1106,gpt-3.5-turbo-0613
|
|
|
|
DEBUG_PLUGINS=true
|
|
|
|
CREDS_KEY=f34be427ebb29de8d88c107a71546019685ed8b241d8f2ed00c3df97ad2566f0
|
|
CREDS_IV=e2341419ec3dd3d19b13a1a87fafcbfb
|
|
|
|
# Azure AI Search
|
|
#-----------------
|
|
AZURE_AI_SEARCH_SERVICE_ENDPOINT=
|
|
AZURE_AI_SEARCH_INDEX_NAME=
|
|
AZURE_AI_SEARCH_API_KEY=
|
|
|
|
AZURE_AI_SEARCH_API_VERSION=
|
|
AZURE_AI_SEARCH_SEARCH_OPTION_QUERY_TYPE=
|
|
AZURE_AI_SEARCH_SEARCH_OPTION_TOP=
|
|
AZURE_AI_SEARCH_SEARCH_OPTION_SELECT=
|
|
|
|
# DALL·E
|
|
#----------------
|
|
# DALLE_API_KEY=
|
|
# DALLE3_API_KEY=
|
|
# DALLE2_API_KEY=
|
|
# DALLE3_SYSTEM_PROMPT=
|
|
# DALLE2_SYSTEM_PROMPT=
|
|
# DALLE_REVERSE_PROXY=
|
|
# DALLE3_BASEURL=
|
|
# DALLE2_BASEURL=
|
|
|
|
# DALL·E (via Azure OpenAI)
|
|
# Note: requires some of the variables above to be set
|
|
#----------------
|
|
# DALLE3_AZURE_API_VERSION=
|
|
# DALLE2_AZURE_API_VERSION=
|
|
|
|
# Google
|
|
#-----------------
|
|
GOOGLE_SEARCH_API_KEY=
|
|
GOOGLE_CSE_ID=
|
|
|
|
# SerpAPI
|
|
#-----------------
|
|
SERPAPI_API_KEY=
|
|
|
|
# Stable Diffusion
|
|
#-----------------
|
|
SD_WEBUI_URL=http://host.docker.internal:7860
|
|
|
|
# Tavily
|
|
#-----------------
|
|
TAVILY_API_KEY=
|
|
|
|
# Traversaal
|
|
#-----------------
|
|
TRAVERSAAL_API_KEY=
|
|
|
|
# WolframAlpha
|
|
#-----------------
|
|
WOLFRAM_APP_ID=
|
|
|
|
# Zapier
|
|
#-----------------
|
|
ZAPIER_NLA_API_KEY=
|
|
|
|
#==================================================#
|
|
# Search #
|
|
#==================================================#
|
|
|
|
SEARCH=true
|
|
MEILI_NO_ANALYTICS=true
|
|
MEILI_HOST=http://0.0.0.0:7700
|
|
MEILI_MASTER_KEY=DrhYf7zENyR6AlUCKmnz0eYASOQdl6zxH7s7MKFSfFCt
|
|
|
|
#===================================================#
|
|
# User System #
|
|
#===================================================#
|
|
|
|
#========================#
|
|
# Moderation #
|
|
#========================#
|
|
|
|
OPENAI_MODERATION=false
|
|
OPENAI_MODERATION_API_KEY=
|
|
# OPENAI_MODERATION_REVERSE_PROXY=
|
|
|
|
BAN_VIOLATIONS=true
|
|
BAN_DURATION=1000 * 60 * 60 * 2
|
|
BAN_INTERVAL=20
|
|
|
|
LOGIN_VIOLATION_SCORE=1
|
|
REGISTRATION_VIOLATION_SCORE=1
|
|
CONCURRENT_VIOLATION_SCORE=1
|
|
MESSAGE_VIOLATION_SCORE=1
|
|
NON_BROWSER_VIOLATION_SCORE=20
|
|
|
|
LOGIN_MAX=7
|
|
LOGIN_WINDOW=5
|
|
REGISTER_MAX=5
|
|
REGISTER_WINDOW=60
|
|
|
|
LIMIT_CONCURRENT_MESSAGES=true
|
|
CONCURRENT_MESSAGE_MAX=2
|
|
|
|
LIMIT_MESSAGE_IP=true
|
|
MESSAGE_IP_MAX=40
|
|
MESSAGE_IP_WINDOW=1
|
|
|
|
LIMIT_MESSAGE_USER=false
|
|
MESSAGE_USER_MAX=40
|
|
MESSAGE_USER_WINDOW=1
|
|
|
|
ILLEGAL_MODEL_REQ_SCORE=5
|
|
|
|
#========================#
|
|
# Balance #
|
|
#========================#
|
|
|
|
CHECK_BALANCE=false
|
|
|
|
#========================#
|
|
# Registration and Login #
|
|
#========================#
|
|
|
|
ALLOW_EMAIL_LOGIN=true
|
|
ALLOW_REGISTRATION=true
|
|
ALLOW_SOCIAL_LOGIN=false
|
|
ALLOW_SOCIAL_REGISTRATION=false
|
|
|
|
SESSION_EXPIRY=1000 * 60 * 15
|
|
REFRESH_TOKEN_EXPIRY=(1000 * 60 * 60 * 24) * 7
|
|
|
|
JWT_SECRET=16f8c0ef4a5d391b26034086c628469d3f9f497f08163ab9b40137092f2909ef
|
|
JWT_REFRESH_SECRET=eaa5191f2914e30b9387fd84e254e4ba6fc51b4654968a9b0803b456a54b8418
|
|
|
|
# Discord
|
|
DISCORD_CLIENT_ID=
|
|
DISCORD_CLIENT_SECRET=
|
|
DISCORD_CALLBACK_URL=/oauth/discord/callback
|
|
|
|
# Facebook
|
|
FACEBOOK_CLIENT_ID=
|
|
FACEBOOK_CLIENT_SECRET=
|
|
FACEBOOK_CALLBACK_URL=/oauth/facebook/callback
|
|
|
|
# GitHub
|
|
GITHUB_CLIENT_ID=
|
|
GITHUB_CLIENT_SECRET=
|
|
GITHUB_CALLBACK_URL=/oauth/github/callback
|
|
|
|
# Google
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
GOOGLE_CALLBACK_URL=/oauth/google/callback
|
|
|
|
# OpenID
|
|
OPENID_CLIENT_ID=
|
|
OPENID_CLIENT_SECRET=
|
|
OPENID_ISSUER=
|
|
OPENID_SESSION_SECRET=
|
|
OPENID_SCOPE="openid profile email"
|
|
OPENID_CALLBACK_URL=/oauth/openid/callback
|
|
OPENID_REQUIRED_ROLE=
|
|
OPENID_REQUIRED_ROLE_TOKEN_KIND=
|
|
OPENID_REQUIRED_ROLE_PARAMETER_PATH=
|
|
|
|
OPENID_BUTTON_LABEL=
|
|
OPENID_IMAGE_URL=
|
|
|
|
#========================#
|
|
# Email Password Reset #
|
|
#========================#
|
|
|
|
EMAIL_SERVICE=
|
|
EMAIL_HOST=
|
|
EMAIL_PORT=25
|
|
EMAIL_ENCRYPTION=
|
|
EMAIL_ENCRYPTION_HOSTNAME=
|
|
EMAIL_ALLOW_SELFSIGNED=
|
|
EMAIL_USERNAME=
|
|
EMAIL_PASSWORD=
|
|
EMAIL_FROM_NAME=
|
|
EMAIL_FROM=noreply@librechat.ai
|
|
|
|
#========================#
|
|
# Firebase CDN #
|
|
#========================#
|
|
|
|
FIREBASE_API_KEY=
|
|
FIREBASE_AUTH_DOMAIN=
|
|
FIREBASE_PROJECT_ID=
|
|
FIREBASE_STORAGE_BUCKET=
|
|
FIREBASE_MESSAGING_SENDER_ID=
|
|
FIREBASE_APP_ID=
|
|
|
|
#===================================================#
|
|
# UI #
|
|
#===================================================#
|
|
|
|
APP_TITLE=LibreChat
|
|
# CUSTOM_FOOTER="My custom footer"
|
|
HELP_AND_FAQ_URL=https://librechat.ai
|
|
|
|
# SHOW_BIRTHDAY_ICON=true
|
|
|
|
#==================================================#
|
|
# Others #
|
|
#==================================================#
|
|
# You should leave the following commented out #
|
|
|
|
# NODE_ENV=
|
|
|
|
# REDIS_URI=
|
|
# USE_REDIS=
|
|
|
|
# E2E_USER_EMAIL=
|
|
# E2E_USER_PASSWORD=
|
|
|
|
EMBEDDINGS_PROVIDER=huggingface
|
|
EMBEDDINGS_MODEL="avsolatorio/GIST-small-Embedding-v0"
|
|
|
|
# Redlib configuration
|
|
# See the Configuration section of the README for a more detailed explanation of these settings.
|
|
|
|
# Instance-specific settings
|
|
# Enable SFW-only mode for the instance
|
|
REDLIB_SFW_ONLY=off
|
|
# Set a banner message for the instance
|
|
REDLIB_BANNER=124c41
|
|
# Disable search engine indexing
|
|
REDLIB_ROBOTS_DISABLE_INDEXING=off
|
|
# Set the Pushshift frontend for "removed" links
|
|
REDLIB_PUSHSHIFT_FRONTEND=undelete.pullpush.io
|
|
|
|
# Default user settings
|
|
# Set the default theme (options: system, light, dark, black, dracula, nord, laserwave, violet, gold, rosebox, gruvboxdark, gruvboxlight)
|
|
REDLIB_DEFAULT_THEME=system
|
|
# Set the default front page (options: default, popular, all)
|
|
REDLIB_DEFAULT_FRONT_PAGE=default
|
|
# Set the default layout (options: card, clean, compact)
|
|
REDLIB_DEFAULT_LAYOUT=card
|
|
# Enable wide mode by default
|
|
REDLIB_DEFAULT_WIDE=off
|
|
# Set the default post sort method (options: hot, new, top, rising, controversial)
|
|
REDLIB_DEFAULT_POST_SORT=hot
|
|
# Set the default comment sort method (options: confidence, top, new, controversial, old)
|
|
REDLIB_DEFAULT_COMMENT_SORT=confidence
|
|
# Enable showing NSFW content by default
|
|
REDLIB_DEFAULT_SHOW_NSFW=off
|
|
# Enable blurring NSFW content by default
|
|
REDLIB_DEFAULT_BLUR_NSFW=off
|
|
# Enable HLS video format by default
|
|
REDLIB_DEFAULT_USE_HLS=off
|
|
# Hide HLS notification by default
|
|
REDLIB_DEFAULT_HIDE_HLS_NOTIFICATION=off
|
|
# Disable autoplay videos by default
|
|
REDLIB_DEFAULT_AUTOPLAY_VIDEOS=off
|
|
# Define a default list of subreddit subscriptions (format: sub1+sub2+sub3)
|
|
REDLIB_DEFAULT_SUBSCRIPTIONS=books+ArchitecturePorn+ArtefactPorn+EngineeringPorn+DesignPorn+EarthPorn+MapPorn+NatureIsFuckingLit+spaceporn+WarshipPorn+worldnews+linux+LocalLLaMA+programming+Futurology+singularity+science+singapore+singaporehappenings+SingaporeRaw
|
|
# Hide awards by default
|
|
REDLIB_DEFAULT_HIDE_AWARDS=off
|
|
# Disable the confirmation before visiting Reddit
|
|
REDLIB_DEFAULT_DISABLE_VISIT_REDDIT_CONFIRMATION=off
|
|
# Hide score by default
|
|
REDLIB_DEFAULT_HIDE_SCORE=off
|
|
# Enable fixed navbar by default
|
|
REDLIB_DEFAULT_FIXED_NAVBAR=on
|
|
|
|
# outline
|
|
NODE_ENV=production
|
|
|
|
# Generate a hex-encoded 32-byte random key. You should use `openssl rand -hex 32`
|
|
# in your terminal to generate a random value.
|
|
OUTLINE_SECRET_KEY=00b5677d3ce6c106f3d95ec830f9530f9014a2620d16fe60ed867a30c4964c5e
|
|
|
|
# Generate a unique random key. The format is not important but you could still use
|
|
# `openssl rand -hex 32` in your terminal to produce this.
|
|
OUTLINE_UTILS_SECRET=4b8235fdc01295571bd0946abb5eaf7c131f1a652386c98b658bbc4b1b4e3540
|
|
|
|
# For production point these at your databases, in development the default
|
|
# should work out of the box.
|
|
DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE__HOSTNAME}:5432/outline
|
|
# DATABASE_CONNECTION_POOL_MIN=
|
|
# DATABASE_CONNECTION_POOL_MAX=
|
|
# Uncomment this to disable SSL for connecting to Postgres
|
|
# PGSSLMODE=disable
|
|
|
|
# For redis you can either specify an ioredis compatible url like this
|
|
REDIS_URL=redis://redis:6379
|
|
# or alternatively, if you would like to provide additional connection options,
|
|
# use a base64 encoded JSON connection option object. Refer to the ioredis documentation
|
|
# for a list of available options.
|
|
# Example: Use Redis Sentinel for high availability
|
|
# {"sentinels":[{"host":"sentinel-0","port":26379},{"host":"sentinel-1","port":26379}],"name":"mymaster"}
|
|
# REDIS_URL=ioredis://eyJzZW50aW5lbHMiOlt7Imhvc3QiOiJzZW50aW5lbC0wIiwicG9ydCI6MjYzNzl9LHsiaG9zdCI6InNlbnRpbmVsLTEiLCJwb3J0IjoyNjM3OX1dLCJuYW1lIjoibXltYXN0ZXIifQ==
|
|
|
|
# URL should point to the fully qualified, publicly accessible URL. If using a
|
|
# proxy the port in URL and PORT may be different.
|
|
OUTLINE_URL=https://outline.${DOMAIN}
|
|
OUTLINE_PORT=3000
|
|
|
|
# See [documentation](docs/SERVICES.md) on running a separate collaboration
|
|
# server, for normal operation this does not need to be set.
|
|
COLLABORATION_URL=
|
|
|
|
# Specify what storage system to use. Possible value is one of "s3" or "local".
|
|
# For "local", the avatar images and document attachments will be saved on local disk.
|
|
FILE_STORAGE=local
|
|
|
|
# If "local" is configured for FILE_STORAGE above, then this sets the parent directory under
|
|
# which all attachments/images go. Make sure that the process has permissions to create
|
|
# this path and also to write files to it.
|
|
FILE_STORAGE_LOCAL_ROOT_DIR=/var/lib/outline/data
|
|
|
|
# Maximum allowed size for the uploaded attachment.
|
|
FILE_STORAGE_UPLOAD_MAX_SIZE=262144000
|
|
|
|
# Override the maximum size of document imports, generally this should be lower
|
|
# than the document attachment maximum size.
|
|
FILE_STORAGE_IMPORT_MAX_SIZE=
|
|
|
|
# Override the maximum size of workspace imports, these can be especially large
|
|
# and the files are temporary being automatically deleted after a period of time.
|
|
FILE_STORAGE_WORKSPACE_IMPORT_MAX_SIZE=
|
|
|
|
# –––––––––––––– AUTHENTICATION ––––––––––––––
|
|
|
|
# Third party signin credentials, at least ONE OF EITHER Google, Slack,
|
|
# or Microsoft is required for a working installation or you'll have no sign-in
|
|
# options.
|
|
|
|
# To configure Google auth, you'll need to create an OAuth Client ID at
|
|
# => https://console.cloud.google.com/apis/credentials
|
|
#
|
|
# When configuring the Client ID, add an Authorized redirect URI:
|
|
# https://<URL>/auth/google.callback
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
|
|
SLACK_CLIENT_ID=
|
|
SLACK_CLIENT_SECRET= |