2017-01-21 02:36:00 -05:00
|
|
|
# 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=
|
2022-10-18 17:35:18 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Development Only
|
|
|
|
#
|
|
|
|
|
2023-08-04 16:54:01 -04:00
|
|
|
# solargraph: Start the integrated solargraph service from the compose file. Requires a rebuild when gems change.
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
# COMPOSE_PROFILES=solargraph,discord
|
|
|
|
|
2023-09-25 12:21:08 -04:00
|
|
|
# Change the ports that are forwarded by docker to avoid potential conflicts
|
|
|
|
|
|
|
|
# EXPOSED_SERVER_PORT=3000
|
|
|
|
# EXPOSED_POSTGRES_PORT=34517
|
|
|
|
|
2023-08-04 16:54:01 -04:00
|
|
|
# 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=
|