unoffical wafrn mirror wafrn.net
atproto social-network activitypub
at development 93 lines 2.8 kB view raw
1# Admin user 2ADMIN_USER=admin 3ADMIN_EMAIL=admin@example.com 4ADMIN_PASSWORD=example_password 5 6# JWT details 7JWT_SECRET=secret 8 9# Domain name 10DOMAIN_NAME=localhost 11CACHE_DOMAIN=cdn.localhost 12MEDIA_DOMAIN=media.localhost 13FRONTEND_MEDIA_URL="https://media.localhost" 14FRONTEND_CACHE_URL="https://cdn.localhost/api/cache?media=" 15 16# Frontend metadata 17FRONTEND_SHORT_TITLE="Wafrn" 18FRONTEND_LONG_TITLE="Wafrn, the social media that respects you" 19FRONTEND_DESCRIPTION="Wafrn is a federated social media inspired by tumblr that connects with the fediverse and bluesky" 20 21# email campaign donation url 22DONATION_URL="https://localhost/about" 23 24# Instance type 25# Set to PUBLIC if it's a public instance, or PRIVATE if not 26# Set to INVITE if you want it to require invite code, we recommend that 27# you disable review registrations if you set it to invite 28REGISTRATION_LEVEL=PUBLIC 29REGISTRATIONS_DISABLED_TEXT="This instance is a private instance, and does not allow registrations" 30REVIEW_REGISTRATIONS=true 31REGISTRATION_MINIMUM_AGE=18 32 33# Bubble/Blocked servers show type 34# HIDDEN (for everyone), require LOGGEDIN, show PUBLIC(ly) 35BUBBLE_SERVERS_SHOW_TYPE=PUBLIC 36BLOCKED_SERVERS_SHOW_TYPE=LOGGEDIN 37 38# Admin thingys 39AUTOFOLLOW_MAIN_ADMIN=true 40 41# Email setup 42DISABLE_REQUIRE_SEND_EMAIL=false 43SMTP_HOST=smtp.example.com 44SMTP_USER=wafrn 45SMTP_PORT=587 46SMTP_PASSWORD=password 47SMTP_FROM=wafrn@example.com 48 49# Database 50POSTGRES_USER=root 51POSTGRES_PASSWORD=root 52POSTGRES_DBNAME=wafrn 53 54# Let's Encrypt 55ACME_EMAIL=mail@example.com 56 57# Web Push / Unified Push 58WEBPUSH_EMAIL=mailto:info@wafrn.net 59WEBPUSH_PRIVATE= 60WEBPUSH_PUBLIC= 61 62# BlueSky integration 63# Only enable once you have read the README on the BlueSky integration, otherwise your wafrn instance will crash 64COMPOSE_PROFILES=bluesky 65ENABLE_BSKY=false 66PDS_DOMAIN_NAME=bsky.example.com 67PDS_JWT_SECRET= 68PDS_ADMIN_PASSWORD= 69PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX= 70 71# If you want a different handle domain than the set on PDS_DOMAIN_NAME uncomment below and set it here 72# you can do multiple handle domains by seperating them with a comma (no spaces) 73# ALSO ADD A DOT BEFORE THE DOMAIN OR ELSE IT BREAKS then add a caddyfile entry for this, PDS host is pds:3000 74# PDS_HANDLE_DOMAINS=.bsky.example.com 75 76# PDS options 77PDS_APPVIEW_URL="https://api.bsky.app" 78PDS_APPVIEW_DID="did:web:api.bsky.app" 79PDS_MOD_URL="https://mod.bsky.app" 80PDS_MOD_DID="did:plc:ar7c4by46qjdydhdevvrndac" 81PDS_CRAWLERS="https://bsky.network, https://atproto.africa" 82CONSTELLATION_URL="https://constellation.microcosm.blue" 83SLINGSHOT_URL="https://slingshot.microcosm.blue" 84JETSTREAM_URL="wss://jetstream.fire.hose.cam/subscribe" 85 86# Monitoring 87POSTGRES_METRICS_USER=pgwatch 88POSTGRES_METRICS_PASSWORD= 89POSTGRES_METRICS_DBNAME=pgwatch_metrics 90GF_SECURITY_ADMIN_PASSWORD= 91 92# Debugging 93ENABLE_RAW_OUTPUT=false