34 lines
866 B
Django/Jinja
34 lines
866 B
Django/Jinja
# postgresql configuration
|
|
POSTGRES_USER={{ mastodon_db_user }}
|
|
POSTGRES_DB={{ mastodon_db }}
|
|
POSTGRES_PASSWORD={{ mastodon_db_password }}
|
|
|
|
# pgbouncer configuration
|
|
#POOL_MODE=transaction
|
|
#ADMIN_USERS=postgres,mastodon
|
|
#DATABASE_URL="postgres://mastodon:O6lOD6nF2LbhhJs1e7QL@postgresql:5432/mastodon_production"
|
|
|
|
# elasticsearch
|
|
ES_JAVA_OPTS=-Xms512m -Xmx512m
|
|
ELASTIC_PASSWORD=gpwETw6U875pbhnPxbo4
|
|
|
|
# mastodon database configuration
|
|
#DB_HOST=pgbouncer
|
|
DB_HOST={{ mastodon_db_login_unix_socket }}
|
|
DB_USER={{ mastodon_db_user }}
|
|
DB_NAME={{ mastodon_db }}
|
|
DB_PASS={{ mastodon_db_password }}
|
|
DB_PORT=5432
|
|
|
|
REDIS_HOST={{ redis_host }}
|
|
REDIS_PORT={{ redis_port }}
|
|
|
|
CACHE_REDIS_HOST=redis-volatile
|
|
CACHE_REDIS_PORT=6379
|
|
|
|
ES_ENABLED={{ es_enabled }}
|
|
ES_HOST={{ es_host }}
|
|
ES_PORT={{ es_port }}
|
|
# Authentication for ES (optional)
|
|
ES_USER={{ es_user }}
|
|
ES_PASS={{ es_pass }}
|