eBooru/.env.sample
Earlopain 5c14472878
[Misc] Tweak readme
Also adds back something to .env.sample that I accidentally removed last commit.

The installation instructions to properly set up ruby-lsp are pretty convoluted at the moment,
I'm hoping that this will improve in the future. I openend https://github.com/Shopify/ruby-lsp/issues/1303 Let's see how that goes
2024-01-12 17:52:22 +01:00

63 lines
1.7 KiB
Plaintext

# The settings here, if defined, override the settings in config/database.yml,
# config/unicorn/unicorn.rb, config/danbooru_local_config.rb, and
# ~/.danbooru/{secret_token,session_secret_key}.
#
# `.env.$RAILS_ENV` takes precedence over .env, and .env.local takes
# precedence over .env and `.env.$RAILS_ENV`.
#
# In other words: put your shared config in .env.local, and your put
# environment-specific config in .env.development / .env.production / .env.test.
#
# Rails
#
# These take precedence over ~/.danbooru/{secret_token,session_secret_key}.
# export SECRET_TOKEN=
# export SESSION_SECRET_KEY=
# Override the normal Gemfile with another file.
# export BUNDLE_GEMFILE=
# Logs a stacktrace for each SQL query.
# export QUERY_TRACE=
#
# Danbooru
#
# These take precedence over config/danbooru_local_config.rb. Any setting in
# danbooru_default_config.rb can be defined here by prefixing it with `DANBOORU_`.
# export DANBOORU_APP_NAME=
# export DANBOORU_VERSION=
# export DANBOORU_HOSTNAME=
#
# Development Only
#
# discord: Starts the discord integration to join users to a discord server.
# The application must have its OAuth2 redirect URI set to ${JOINER_BASE_URL}/callback.
# You also need to fill out all the JOINER_* environment variables below.
#
# COMPOSE_PROFILES=discord
# Change the ports that are forwarded by docker to avoid potential conflicts
# EXPOSED_SERVER_PORT=3000
# EXPOSED_POSTGRES_PORT=34517
# The following environment variables are required when using the 'discord' profile:
# JOINER_BOT_TOKEN=
# JOINER_OAUTH2_CLIENT_ID=
# JOINER_OAUTH2_CLIENT_SECRET=
# JOINER_GUILD_ID=
# JOINER_FAILED_JOIN_WEBHOOK_URL=
# Enable the NewRelic integration
# NEW_RELIC_AGENT_ENABLED=true
# NEW_RELIC_LICENSE_KEY=your_license_key