Update config sample
This commit is contained in:
parent
daf6d4896f
commit
daf8eeebc0
@ -14,7 +14,7 @@ ARG MIX_ENV
|
|||||||
ENV MIX_ENV=$MIX_ENV
|
ENV MIX_ENV=$MIX_ENV
|
||||||
|
|
||||||
# Prepare mounts
|
# Prepare mounts
|
||||||
VOLUME /custom.d
|
VOLUME /custom.d /uploads
|
||||||
|
|
||||||
# Expose HTTP, Gopher, and SSH ports, respectively
|
# Expose HTTP, Gopher, and SSH ports, respectively
|
||||||
EXPOSE 4000 9999 2222
|
EXPOSE 4000 9999 2222
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
use Mix.Config
|
use Mix.Config
|
||||||
|
|
||||||
# Listening to 0.0.0.0 is required in a container since the IP is not known in advance.
|
|
||||||
# You should not change the following three ip/port mappings.
|
# You should not change the following three ip/port mappings.
|
||||||
|
# Listening to 0.0.0.0 is required in a container since the IP is not known in advance.
|
||||||
# Instead, change the mapping to your host ports in "docker-compose.yml".
|
# Instead, change the mapping to your host ports in "docker-compose.yml".
|
||||||
|
|
||||||
config :pleroma, Pleroma.Web.Endpoint,
|
config :pleroma, Pleroma.Web.Endpoint,
|
||||||
http: [
|
http: [
|
||||||
ip: {0, 0, 0, 0},
|
ip: {0, 0, 0, 0},
|
||||||
port: 4000
|
port: 4000
|
||||||
]
|
]
|
||||||
|
|
||||||
config :pleroma, :gopher,
|
config :pleroma, :gopher,
|
||||||
ip: {0, 0, 0, 0},
|
ip: {0, 0, 0, 0},
|
||||||
@ -17,35 +17,47 @@ config :pleroma, :gopher,
|
|||||||
config :esshd,
|
config :esshd,
|
||||||
port: 2222
|
port: 2222
|
||||||
|
|
||||||
|
# You shouldn't need to change this.
|
||||||
# pleroma/pleroma/pleroma are the default credentials.
|
# pleroma/pleroma/pleroma are the default credentials.
|
||||||
# "db" is the default interlinked hostname.
|
# "db" is the default interlinked hostname.
|
||||||
# You shouldn't need to change this.
|
|
||||||
config :pleroma, Pleroma.Repo,
|
config :pleroma, Pleroma.Repo,
|
||||||
adapter: Ecto.Adapters.Postgres,
|
adapter: Ecto.Adapters.Postgres,
|
||||||
username: "pleroma",
|
username: "pleroma",
|
||||||
password: "pleroma",
|
password: "pleroma",
|
||||||
database: "pleroma",
|
database: "pleroma",
|
||||||
hostname: "db"
|
hostname: "db"
|
||||||
|
|
||||||
|
# You should not change this.
|
||||||
|
config :pleroma, Pleroma.Uploaders.Local, uploads: "/uploads"
|
||||||
|
|
||||||
#
|
#
|
||||||
# vvv Your awesome config options go here vvv
|
# vvv Your awesome config options go here vvv
|
||||||
#
|
#
|
||||||
|
|
||||||
|
config :pleroma, Pleroma.Upload,
|
||||||
|
filters: [Pleroma.Upload.Filter.Dedupe, Pleroma.Upload.Filter.Mogrify]
|
||||||
|
|
||||||
|
config :pleroma, Pleroma.Upload.Filter.Mogrify,
|
||||||
|
args: ["strip"]
|
||||||
|
|
||||||
|
# Set your URL and key-base here
|
||||||
|
# On Linux, you can use the following command to get a random key base:
|
||||||
|
# dd if=/dev/urandom bs=1 count=128 2>/dev/null | base64 -w 0 | rev | cut -b 2- | rev
|
||||||
|
config :pleroma, Pleroma.Web.Endpoint,
|
||||||
|
url: [host: "ihatedocker.io", scheme: "https", port: 443],
|
||||||
|
secret_key_base: "<key>"
|
||||||
|
|
||||||
###
|
###
|
||||||
# Here are some example values.
|
# Now follow some example config values.
|
||||||
# Uncomment what you need or delete it all.
|
# Uncomment/Change what you need, or delete it all.
|
||||||
#
|
#
|
||||||
# Want to use pleroma's config generator instead?
|
# Want to use pleroma's config generator instead?
|
||||||
# Try `./pleroma mix pleroma.instance gen` and then `./pleroma cp /home/pleroma/pleroma/config/generated_config.exs config.exs`.
|
# Try `./pleroma.sh mix pleroma.instance gen` and then `./pleroma.sh cp /home/pleroma/pleroma/config/generated_config.exs config.exs`.
|
||||||
#
|
#
|
||||||
# Need some inspiration?
|
# Need some inspiration?
|
||||||
# Take a look at https://git.pleroma.social/pleroma/pleroma/tree/develop/config
|
# Take a look at https://git.pleroma.social/pleroma/pleroma/tree/develop/config
|
||||||
###
|
###
|
||||||
|
|
||||||
# config :pleroma, Pleroma.Web.Endpoint,
|
|
||||||
# url: [host: "example.com", scheme: "https", port: 443],
|
|
||||||
# secret_key_base: "<key>"
|
|
||||||
|
|
||||||
# config :pleroma, :instance,
|
# config :pleroma, :instance,
|
||||||
# name: "example instance",
|
# name: "example instance",
|
||||||
# email: "example@example.com",
|
# email: "example@example.com",
|
||||||
|
Loading…
Reference in New Issue
Block a user