mirror of
https://github.com/mastodon/mastodon.git
synced 2026-03-21 09:55:35 -05:00
Some checks failed
Check i18n / check-i18n (push) Waiting to run
Chromatic / Run Chromatic (push) Waiting to run
CodeQL / Analyze (actions) (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
CodeQL / Analyze (ruby) (push) Waiting to run
Check formatting / lint (push) Waiting to run
JavaScript Linting / lint (push) Waiting to run
JavaScript Testing / test (push) Waiting to run
Ruby Testing / build (production) (push) Waiting to run
Ruby Testing / build (test) (push) Waiting to run
Ruby Testing / test (.ruby-version) (push) Blocked by required conditions
Ruby Testing / test (3.2) (push) Blocked by required conditions
Ruby Testing / test (3.3) (push) Blocked by required conditions
Ruby Testing / ImageMagick tests (.ruby-version) (push) Blocked by required conditions
Ruby Testing / ImageMagick tests (3.2) (push) Blocked by required conditions
Ruby Testing / ImageMagick tests (3.3) (push) Blocked by required conditions
Ruby Testing / End to End testing (.ruby-version) (push) Blocked by required conditions
Ruby Testing / End to End testing (3.2) (push) Blocked by required conditions
Ruby Testing / End to End testing (3.3) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:8.10.2) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, opensearchproject/opensearch:2) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (3.2, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (3.3, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
Bundler Audit / security (push) Has been cancelled
CSS Linting / lint (push) Has been cancelled
Haml Linting / lint (push) Has been cancelled
Ruby Linting / lint (push) Has been cancelled
Historical data migration test / test (14-alpine) (push) Has been cancelled
Historical data migration test / test (15-alpine) (push) Has been cancelled
Historical data migration test / test (16-alpine) (push) Has been cancelled
Historical data migration test / test (17-alpine) (push) Has been cancelled
91 lines
2.6 KiB
Plaintext
91 lines
2.6 KiB
Plaintext
# This is a sample configuration file. You can generate your configuration
|
|
# with the `bundle exec rails mastodon:setup` interactive setup wizard, but to customize
|
|
# your setup even further, you'll need to edit it manually. This sample does
|
|
# not demonstrate all available configuration options. Please look at
|
|
# https://docs.joinmastodon.org/admin/config/ for the full documentation.
|
|
|
|
# Note that this file accepts slightly different syntax depending on whether
|
|
# you are using `docker-compose` or not. In particular, if you use
|
|
# `docker-compose`, the value of each declared variable will be taken verbatim,
|
|
# including surrounding quotes.
|
|
# See: https://github.com/mastodon/mastodon/issues/16895
|
|
|
|
# Federation
|
|
# ----------
|
|
# This identifies your server and cannot be changed safely later
|
|
# ----------
|
|
LOCAL_DOMAIN=example.com
|
|
|
|
# Redis
|
|
# -----
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
|
|
# PostgreSQL
|
|
# ----------
|
|
DB_HOST=/var/run/postgresql
|
|
DB_USER=mastodon
|
|
DB_NAME=mastodon_production
|
|
DB_PASS=
|
|
DB_PORT=5432
|
|
|
|
# Elasticsearch (optional)
|
|
# ------------------------
|
|
ES_ENABLED=true
|
|
ES_HOST=localhost
|
|
ES_PORT=9200
|
|
# Authentication for ES (optional)
|
|
ES_USER=elastic
|
|
ES_PASS=password
|
|
|
|
# Secrets
|
|
# -------
|
|
# Make sure to use `bundle exec rails secret` to generate secrets
|
|
# -------
|
|
SECRET_KEY_BASE=
|
|
|
|
# Encryption secrets
|
|
# ------------------
|
|
# Must be available (and set to same values) for all server processes
|
|
# These are private/secret values, do not share outside hosting environment
|
|
# Use `bin/rails db:encryption:init` to generate fresh secrets
|
|
# Do NOT change these secrets once in use, as this would cause data loss and other issues
|
|
# ------------------
|
|
# ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=
|
|
# ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=
|
|
# ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=
|
|
|
|
# Web Push
|
|
# --------
|
|
# Generate with `bundle exec rails mastodon:webpush:generate_vapid_key`
|
|
# --------
|
|
VAPID_PRIVATE_KEY=
|
|
VAPID_PUBLIC_KEY=
|
|
|
|
# Sending mail
|
|
# ------------
|
|
SMTP_SERVER=
|
|
SMTP_PORT=587
|
|
SMTP_LOGIN=
|
|
SMTP_PASSWORD=
|
|
SMTP_FROM_ADDRESS=notifications@example.com
|
|
|
|
# File storage (optional)
|
|
# -----------------------
|
|
S3_ENABLED=true
|
|
S3_BUCKET=files.example.com
|
|
AWS_ACCESS_KEY_ID=
|
|
AWS_SECRET_ACCESS_KEY=
|
|
S3_ALIAS_HOST=files.example.com
|
|
|
|
# Optional list of hosts that are allowed to serve media for your instance
|
|
# EXTRA_MEDIA_HOSTS=https://data.example1.com,https://data.example2.com
|
|
|
|
# IP and session retention
|
|
# -----------------------
|
|
# Make sure to modify the scheduling of ip_cleanup_scheduler in config/sidekiq.yml
|
|
# to be less than daily if you lower IP_RETENTION_PERIOD below two days (172800).
|
|
# -----------------------
|
|
IP_RETENTION_PERIOD=31556952
|
|
SESSION_RETENTION_PERIOD=31556952
|