2018-08-20 21:19:42 -04:00
|
|
|
#
|
|
|
|
# Note: The values of this file that are passed directly to
|
|
|
|
# pleroma need type hints to be applied correctly.
|
|
|
|
# The implemented types are int, bool, and string.
|
|
|
|
# Typed variables look like this: KEY=type:VALUE.
|
|
|
|
# Not specifying a type implies a string.
|
|
|
|
#
|
|
|
|
# In general: Your instance should work as expected if you leave the types as they are.
|
|
|
|
# That is: don't remove them, don't add them, don't change them.
|
|
|
|
# Always just change the values.
|
|
|
|
#
|
|
|
|
# You don't need to escape colons in your strings.
|
|
|
|
# PLEROMA_NAME=string:std::pleroma::coolinstance will work as expected.
|
|
|
|
#
|
2018-06-03 18:11:12 -04:00
|
|
|
|
|
|
|
#########################
|
|
|
|
# Script settings #
|
|
|
|
#########################
|
|
|
|
|
|
|
|
# Create a postgresql container?
|
|
|
|
SCRIPT_DEPLOY_POSTGRES=true
|
|
|
|
|
|
|
|
# Specify the server that is used as a reverse-proxy
|
|
|
|
SCRIPT_USE_PROXY=traefik
|
|
|
|
|
|
|
|
# Enable internal SSL support?
|
|
|
|
SCRIPT_ENABLE_SSL=false
|
|
|
|
|
|
|
|
# The port to serve HTTP on when running in nginx/apache-mode
|
|
|
|
SCRIPT_PORT_HTTP=80
|
|
|
|
|
|
|
|
# The port to serve HTTPs on when running in nginx/apache-mode
|
|
|
|
SCRIPT_PORT_HTTPS=443
|
|
|
|
|
|
|
|
# The ip to bind to in nginx/apache-mode
|
|
|
|
SCRIPT_BIND_IP=0.0.0.0
|
|
|
|
|
|
|
|
#########################
|
|
|
|
# Docker settings #
|
|
|
|
#########################
|
2018-04-08 16:49:07 -04:00
|
|
|
|
2018-04-07 16:29:55 -04:00
|
|
|
# The docker network to bind to.
|
2018-06-03 18:11:12 -04:00
|
|
|
# In traefik-mode this should be the same network that your
|
|
|
|
# traefik-container is connected to or a network that is interconnected
|
|
|
|
# with traefik's network. In manual, apache or nginx mode this value may be empty or set to any other alphanumeric value.
|
|
|
|
# (Defaults to something like "pleroma_docker_1" if empty)
|
2018-08-20 21:19:42 -04:00
|
|
|
DOCKER_NETWORK=prod
|
2018-04-07 16:29:55 -04:00
|
|
|
|
|
|
|
# The directory where all containers store their data.
|
|
|
|
# Can be a relative path, "~/...", or absolute.
|
2018-06-03 18:11:12 -04:00
|
|
|
# Named docker volumes are currently not supported.
|
|
|
|
DOCKER_DATADIR=./data
|
|
|
|
|
2018-08-20 17:06:34 -04:00
|
|
|
# The uid/gid used by pleroma.
|
2018-08-20 21:19:42 -04:00
|
|
|
# You should probably set this to the same
|
|
|
|
# uid/guid that cloned the pleroma-docker repo.
|
|
|
|
# This way modding pleroma becomes a lot easier.
|
2018-08-20 17:06:34 -04:00
|
|
|
DOCKER_UID=1000
|
|
|
|
DOCKER_GID=1000
|
|
|
|
|
2018-06-03 18:11:12 -04:00
|
|
|
###########################
|
|
|
|
# Database settings #
|
|
|
|
###########################
|
2018-04-07 16:29:55 -04:00
|
|
|
|
2018-06-03 18:11:12 -04:00
|
|
|
# Leave POSTGRES_IP empty unless you plan to install your own database
|
|
|
|
# Leave the POSTGRES_DB, POSTGRES_USER and POSTGRES_PASSWORD as-is
|
|
|
|
# unless you use your own database.
|
2018-04-08 10:15:44 -04:00
|
|
|
|
2018-06-03 18:11:12 -04:00
|
|
|
POSTGRES_IP=
|
|
|
|
POSTGRES_DB=pleroma
|
|
|
|
POSTGRES_USER=pleroma
|
|
|
|
POSTGRES_PASSWORD=pleroma
|
2018-08-20 21:19:42 -04:00
|
|
|
PLEROMA_DB_POOL_SIZE=int:16
|
2018-04-08 16:49:07 -04:00
|
|
|
|
2018-06-03 18:11:12 -04:00
|
|
|
##########################
|
|
|
|
# Pleroma Settings #
|
|
|
|
##########################
|
2018-04-08 16:49:07 -04:00
|
|
|
|
2018-06-03 18:11:12 -04:00
|
|
|
# The environment to use (dev/prod/test)
|
|
|
|
MIX_ENV=prod
|
2018-04-08 16:49:07 -04:00
|
|
|
|
2018-06-03 18:11:12 -04:00
|
|
|
# The git tag, revision, or branch to check out on build
|
|
|
|
PLEROMA_VERSION=develop
|
|
|
|
|
2018-06-07 06:37:17 -04:00
|
|
|
# The loglevel to use
|
|
|
|
# (error/warn/info/debug)
|
2018-08-20 21:19:42 -04:00
|
|
|
PLEROMA_LOGLEVEL=error
|
2018-06-07 06:37:17 -04:00
|
|
|
|
2018-06-03 18:11:12 -04:00
|
|
|
# The domain/scheme where pleroma will be hosted
|
|
|
|
# URL is a bare TLD
|
|
|
|
# SCHEME is the protocol without "://"
|
2018-06-03 19:48:35 -04:00
|
|
|
# PORT is the *external* port (ie that of your reverse proxy)
|
2018-08-20 21:19:42 -04:00
|
|
|
PLEROMA_URL=coolsite.moe
|
2018-06-03 18:11:12 -04:00
|
|
|
PLEROMA_SCHEME=https
|
2018-08-20 21:19:42 -04:00
|
|
|
PLEROMA_PORT=int:443
|
2018-04-08 16:49:07 -04:00
|
|
|
|
|
|
|
# The seed for your secret keys
|
|
|
|
# (Enter something as random as possible)
|
2018-08-20 21:19:42 -04:00
|
|
|
# (On linux you can try something like "dd if=/dev/urandom bs=1 count=64 2>/dev/null | base64 -w 0 | rev | cut -b 2- | rev")
|
2018-04-08 10:15:44 -04:00
|
|
|
PLEROMA_SECRET_KEY_BASE=
|
2018-04-08 16:49:07 -04:00
|
|
|
|
|
|
|
# The name of your instance
|
2018-06-03 18:11:12 -04:00
|
|
|
# (This is displayed in the top-left in pleroma-fe)
|
2018-08-20 21:19:42 -04:00
|
|
|
PLEROMA_NAME=string:coolInstance
|
2018-04-08 16:49:07 -04:00
|
|
|
|
|
|
|
# Your contact info
|
2018-08-20 21:19:42 -04:00
|
|
|
PLEROMA_ADMIN_EMAIL=admin@coolsite.moe
|
2018-04-08 16:49:07 -04:00
|
|
|
|
2018-06-03 18:11:12 -04:00
|
|
|
# How many chars a notice may have at max.
|
2018-08-20 21:19:42 -04:00
|
|
|
PLEROMA_MAX_NOTICE_CHARS=int:500
|
2018-06-03 18:11:12 -04:00
|
|
|
|
|
|
|
# Whether your instance accepts new users or not (true/false)
|
2018-08-20 21:19:42 -04:00
|
|
|
PLEROMA_REGISTRATIONS_OPEN=bool:true
|
2018-06-03 18:11:12 -04:00
|
|
|
|
2018-08-20 21:19:42 -04:00
|
|
|
# Enable media proxy (true/false)?
|
|
|
|
PLEROMA_MEDIA_PROXY_ENABLED=bool:false
|
2018-04-08 16:49:07 -04:00
|
|
|
|
2018-06-03 18:11:12 -04:00
|
|
|
# The url of your media proxy (if enabled) [with "http(s)://"]
|
2018-08-20 21:19:42 -04:00
|
|
|
PLEROMA_MEDIA_PROXY_URL=string:https://cdn.coolsite.moe
|
2018-04-08 16:49:07 -04:00
|
|
|
|
2018-06-03 18:11:12 -04:00
|
|
|
# Redirect to source on cache fail?
|
2018-08-20 21:19:42 -04:00
|
|
|
PLEROMA_MEDIA_PROXY_REDIRECT_ON_FAILURE=bool:true
|
2018-04-08 18:33:52 -04:00
|
|
|
|
|
|
|
# Whether to enable the chat feature or not
|
2018-08-20 21:19:42 -04:00
|
|
|
PLEROMA_CHAT_ENABLED=bool:true
|
|
|
|
|
|
|
|
# Where to store uploads.
|
|
|
|
# This is only relevant inside the container.
|
|
|
|
# The host path is always $DOCKER_DATADIR/uploads.
|
|
|
|
# So, you probably don't need to change this.
|
|
|
|
PLEROMA_UPLOADS_PATH=/uploads
|