Open up registration and set up our email

This commit is contained in:
Salt 2020-07-28 11:23:25 -05:00
parent 1fbe8cd516
commit c5a8532042
2 changed files with 11 additions and 2 deletions

View File

@ -30,7 +30,7 @@ pleroma_instance_desc: owo
pleroma_instance_email: rehashedsalt@cock.li
pleroma_instance_name: Cowfee
pleroma_instance_notify_email: noreply@cowfee.moe
pleroma_openreg: true
pleroma_openreg: "true"
pleroma_static_repo: "https://git.9iron.club/salt/pleroma"
pleroma_db_password: !vault |
$ANSIBLE_VAULT;1.1;AES256

View File

@ -13,7 +13,7 @@ config :pleroma, :instance,
email: "{{ pleroma_instance_email }}",
notify_email: "{{ pleroma_instance_notify_email }}",
limit: "{{ pleroma_char_limit }}",
registrations_open: "{{ pleroma_openreg }}",
registrations_open: {{ pleroma_openreg }},
static_dir: "/var/lib/pleroma/static"
config :pleroma, Pleroma.Upload,
@ -36,3 +36,12 @@ config :pleroma, Pleroma.Repo,
pool_size: 10
config :pleroma, :database, rum_enabled: false
config :pleroma, Pleroma.Emails.Mailer,
enabled: true,
adapter: Swoosh.Adapters.SMTP,
relay: "email-smtp.us-east-1.amazonaws.com",
username: "{{ aws_ses_user }}",
password: "{{ aws_ses_pass }}",
ssl: true,
auth: :always