Theme pleroma
This commit is contained in:
parent
ef235532c8
commit
0222a94ca4
@ -1,12 +1,12 @@
|
|||||||
# WARNING: THIS FILE CONTAINS SENSITIVE INFORMATION
|
# WARNING: THIS FILE CONTAINS SENSITIVE INFORMATION
|
||||||
import Config
|
import Config
|
||||||
|
|
||||||
|
# Basic configuration
|
||||||
config :pleroma, Pleroma.Web.Endpoint,
|
config :pleroma, Pleroma.Web.Endpoint,
|
||||||
url: [host: "{{ pleroma_url }}", scheme: "https", port: 443],
|
url: [host: "{{ pleroma_url }}", scheme: "https", port: 443],
|
||||||
http: [ip: {127, 0, 0, 1}, port: 4000],
|
http: [ip: {127, 0, 0, 1}, port: 4000],
|
||||||
secret_key_base: "{{ pleroma_secret_key_base }}",
|
secret_key_base: "{{ pleroma_secret_key_base }}",
|
||||||
signing_salt: "{{ pleroma_signing_salt }}"
|
signing_salt: "{{ pleroma_signing_salt }}"
|
||||||
|
|
||||||
config :pleroma, :instance,
|
config :pleroma, :instance,
|
||||||
name: "{{ pleroma_instance_name }}",
|
name: "{{ pleroma_instance_name }}",
|
||||||
desc: "{{ pleroma_instance_desc }}",
|
desc: "{{ pleroma_instance_desc }}",
|
||||||
@ -15,18 +15,16 @@ config :pleroma, :instance,
|
|||||||
limit: "{{ pleroma_char_limit }}",
|
limit: "{{ pleroma_char_limit }}",
|
||||||
registrations_open: {{ pleroma_openreg }},
|
registrations_open: {{ pleroma_openreg }},
|
||||||
static_dir: "/var/lib/pleroma/static"
|
static_dir: "/var/lib/pleroma/static"
|
||||||
|
|
||||||
config :pleroma, Pleroma.Upload,
|
config :pleroma, Pleroma.Upload,
|
||||||
uploader: Pleroma.Uploaders.Local,
|
uploader: Pleroma.Uploaders.Local,
|
||||||
filters: [Pleroma.Upload.Filter.Dedupe]
|
filters: [Pleroma.Upload.Filter.Dedupe]
|
||||||
|
|
||||||
config :pleroma, Pleroma.Uploaders.Local,
|
config :pleroma, Pleroma.Uploaders.Local,
|
||||||
uploads: "/var/lib/pleroma/uploads"
|
uploads: "/var/lib/pleroma/uploads"
|
||||||
|
|
||||||
config :pleroma, :media_proxy,
|
config :pleroma, :media_proxy,
|
||||||
enabled: false,
|
enabled: false,
|
||||||
redirect_on_failure: true
|
redirect_on_failure: true
|
||||||
|
|
||||||
|
# DB configuration
|
||||||
config :pleroma, Pleroma.Repo,
|
config :pleroma, Pleroma.Repo,
|
||||||
adapter: Ecto.Adapters.Postgres,
|
adapter: Ecto.Adapters.Postgres,
|
||||||
username: "pleroma",
|
username: "pleroma",
|
||||||
@ -34,9 +32,9 @@ config :pleroma, Pleroma.Repo,
|
|||||||
database: "pleroma",
|
database: "pleroma",
|
||||||
hostname: "localhost",
|
hostname: "localhost",
|
||||||
pool_size: 10
|
pool_size: 10
|
||||||
|
|
||||||
config :pleroma, :database, rum_enabled: false
|
config :pleroma, :database, rum_enabled: false
|
||||||
|
|
||||||
|
# Mail
|
||||||
config :pleroma, Pleroma.Emails.Mailer,
|
config :pleroma, Pleroma.Emails.Mailer,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
adapter: Swoosh.Adapters.SMTP,
|
adapter: Swoosh.Adapters.SMTP,
|
||||||
@ -45,3 +43,10 @@ config :pleroma, Pleroma.Emails.Mailer,
|
|||||||
password: "{{ aws_ses_pass }}",
|
password: "{{ aws_ses_pass }}",
|
||||||
ssl: true,
|
ssl: true,
|
||||||
auth: :always
|
auth: :always
|
||||||
|
|
||||||
|
# Themeing
|
||||||
|
config :pleroma, :frontend_configurations,
|
||||||
|
pleroma_fe: %{
|
||||||
|
background: "/images/background.jpg",
|
||||||
|
theme: "simply-dark"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user