Files
andros d5377e94eb Initial implementation of push notification backend
Django backend that listens to the relay SSE global stream and dispatches
APNs push notifications to subscribed iOS devices (TestFlight/sandbox).
2026-05-19 09:34:46 +02:00

18 lines
554 B
Plaintext

SECRET_KEY=django-insecure-changeme-replace-this-in-production
DEBUG=False
ALLOWED_HOSTS=localhost,127.0.0.1,django,nginx
NGINX_PORT=8080
# Relay
RELAY_BASE_URL=https://relay.org-social.org
# Apple Push Notification service (APNs)
# Get these from https://developer.apple.com/account/resources/authkeys/list
APNS_KEY_ID=XXXXXXXXXX
APNS_TEAM_ID=XXXXXXXXXX
APNS_BUNDLE_ID=org.org-social.app
APNS_PRIVATE_KEY_PATH=/app/certs/apns.p8
# True = sandbox APNs (TestFlight, simulator, development builds)
# False = production APNs (App Store)
APNS_SANDBOX=True