diff options
author | Starfall <us@starfall.systems> | 2023-01-17 13:59:40 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2023-01-17 14:26:55 -0600 |
commit | 7515716e7f3950a3a6de04aac1b88215aa40795e (patch) | |
tree | 9a67642bfde79cfef092de8b87a3c80bd2ccad43 /deploy/conf/.env.production | |
parent | 0d0c26b589a0fedb4cf336683da4c0272a4391d1 (diff) |
update almost everything except the setup script
Diffstat (limited to 'deploy/conf/.env.production')
-rw-r--r-- | deploy/conf/.env.production | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/deploy/conf/.env.production b/deploy/conf/.env.production new file mode 100644 index 0000000..3d1181c --- /dev/null +++ b/deploy/conf/.env.production @@ -0,0 +1,54 @@ +REDIS_HOST=redis +REDIS_PORT=6379 + +DB_HOST=db +DB_USER=postgres +DB_NAME=postgres +DB_PASS=<REPLACE ME> +DB_PORT=5432 + +LOCAL_DOMAIN=plural.cafe +DEFAULT_LOCALE=en-cafe + +# Generate with `docker-compose run --rm web rake secret` +SECRET_KEY_BASE=<REPLACE ME> +OTP_SECRET=<REPLACE ME> + +# Instance keys for push notifications +# Generate with `docker-compose run --rm web rake mastodon:webpush:generate_vapid_key` +VAPID_PRIVATE_KEY=<REPLACE ME> +VAPID_PUBLIC_KEY=<REPLACE ME> + +# email +SMTP_SERVER=smtp.mailgun.org +SMTP_PORT=2525 +SMTP_LOGIN=postmaster@plural.cafe +SMTP_PASSWORD=<REPLACE ME> +SMTP_FROM_ADDRESS=noreply@plural.cafe + +# jortage +S3_ENABLED=true +S3_BUCKET=pluralcafe +AWS_ACCESS_KEY_ID=pluralcafe +AWS_SECRET_ACCESS_KEY=<REPLACE ME> +S3_REGION=jort +S3_PROTOCOL=https +S3_HOSTNAME=pool-api.jortage.com +S3_ENDPOINT=https://pool-api.jortage.com +S3_SIGNATURE_VERSION=v4 +S3_ALIAS_HOST=pool.jortage.com/pluralcafe + +# necessary for docker +UID=991 +GID=991 + +# configuration +MAX_TOOT_CHARS=5000 +MAX_PINNED_TOOTS=5 +MAX_BIO_CHARS=2000 +MAX_PROFILE_FIELDS=10 +MAX_DISPLAY_NAME_CHARS=100 + +# should be the fucking default +AUTHORIZED_FETCH=true +DISALLOW_UNAUTHENTICATED_API_ACCESS=true |