2017-01-21 02:36:00 -05:00
|
|
|
# The settings here, if defined, override the settings in config/database.yml,
|
2024-05-07 15:54:25 -04:00
|
|
|
# config/danbooru_local_config.rb, and ~/.danbooru/{secret_token,session_secret_key}.
|
2017-01-21 02:36:00 -05:00
|
|
|
#
|
|
|
|
# `.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
|
|
|
|
#
|
|
|
|
|
2024-01-14 11:30:49 -05:00
|
|
|
#
|
2024-01-15 03:59:56 -05:00
|
|
|
# When wanting to run as the non-root user, you must set these variables to
|
|
|
|
# avoid file permission errors. If not set the container will default
|
|
|
|
# to the root user. Use `id -u` to print the UID and `id -g` for the GID.
|
2024-01-14 11:30:49 -05:00
|
|
|
#
|
|
|
|
# HOST_UID=
|
|
|
|
# HOST_GID=
|
2024-01-15 03:59:56 -05:00
|
|
|
# DOCKER_USER=e621ng
|
2024-01-14 11:30:49 -05:00
|
|
|
|
2024-01-12 11:52:22 -05:00
|
|
|
# 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.
|
|
|
|
#
|
2024-04-09 14:16:29 -04:00
|
|
|
# datadog: Start the datadog agent to push performance metrics through ddtrace.
|
|
|
|
# You also need to fill out the DD_API_KEY environment variables below.
|
|
|
|
# COMPOSE_PROFILES=discord,datadog
|
2024-01-12 11:52:22 -05:00
|
|
|
|
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=
|
2024-04-09 14:16:29 -04:00
|
|
|
|
|
|
|
# The following environment variables are used when using the 'datadog' profile:
|
|
|
|
|
|
|
|
# Required:
|
|
|
|
# DD_API_KEY=
|
2024-04-09 14:52:33 -04:00
|
|
|
# DD_ENABLE=true
|
2024-04-09 14:16:29 -04:00
|
|
|
#
|
|
|
|
# Optional:
|
|
|
|
# DD_SITE=us5.datadoghq.com
|
|
|
|
# DD_SERVICE=E6ng (Dev)
|
|
|
|
# DD_ENV=local
|