redaction (#1)
Add the redacted source file for demo purposes Reviewed-on: https://source.michaeldileo.org/michael_dileo/Keybard-Vagabond-Demo/pulls/1 Co-authored-by: Michael DiLeo <michael_dileo@proton.me> Co-committed-by: Michael DiLeo <michael_dileo@proton.me>
This commit was merged in pull request #1.
This commit is contained in:
71
manifests/applications/bookwyrm/configmap.yaml
Normal file
71
manifests/applications/bookwyrm/configmap.yaml
Normal file
@@ -0,0 +1,71 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: bookwyrm-config
|
||||
namespace: bookwyrm-application
|
||||
labels:
|
||||
app: bookwyrm
|
||||
data:
|
||||
# Core Application Settings (Non-Sensitive)
|
||||
DEBUG: "false"
|
||||
USE_HTTPS: "true"
|
||||
DOMAIN: bookwyrm.keyboardvagabond.com
|
||||
EMAIL: bookwyrm@mail.keyboardvagabond.com
|
||||
CSRF_COOKIE_SECURE: "true"
|
||||
SESSION_COOKIE_SECURE: "true"
|
||||
|
||||
# Database Configuration (Connection Details Only)
|
||||
POSTGRES_HOST: postgresql-shared-rw.postgresql-system.svc.cluster.local
|
||||
PGPORT: "5432"
|
||||
POSTGRES_DB: bookwyrm
|
||||
POSTGRES_USER: bookwyrm_user
|
||||
|
||||
# Redis Configuration (Connection Details Only)
|
||||
REDIS_BROKER_HOST: redis-ha-haproxy.redis-system.svc.cluster.local
|
||||
REDIS_BROKER_PORT: "6379"
|
||||
REDIS_BROKER_DB_INDEX: "3"
|
||||
|
||||
REDIS_ACTIVITY_HOST: redis-ha-haproxy.redis-system.svc.cluster.local
|
||||
REDIS_ACTIVITY_PORT: "6379"
|
||||
REDIS_ACTIVITY_DB: "4"
|
||||
|
||||
# Cache Configuration (Connection Details Only)
|
||||
CACHE_BACKEND: django.core.cache.backends.redis.RedisCache
|
||||
USE_DUMMY_CACHE: "false"
|
||||
|
||||
# Email Configuration (Connection Details Only)
|
||||
EMAIL_HOST: <YOUR_SMTP_SERVER>
|
||||
EMAIL_PORT: "587"
|
||||
EMAIL_USE_TLS: "true"
|
||||
EMAIL_USE_SSL: "false"
|
||||
EMAIL_HOST_USER: bookwyrm@mail.keyboardvagabond.com
|
||||
EMAIL_SENDER_NAME: bookwyrm
|
||||
EMAIL_SENDER_DOMAIN: mail.keyboardvagabond.com
|
||||
# Django DEFAULT_FROM_EMAIL setting - required for email functionality
|
||||
DEFAULT_FROM_EMAIL: bookwyrm@mail.keyboardvagabond.com
|
||||
# Server email for admin notifications
|
||||
SERVER_EMAIL: bookwyrm@mail.keyboardvagabond.com
|
||||
|
||||
# S3 Storage Configuration (Non-Sensitive Details)
|
||||
USE_S3: "true"
|
||||
AWS_STORAGE_BUCKET_NAME: bookwyrm-bucket
|
||||
AWS_S3_REGION_NAME: eu-central-003
|
||||
AWS_S3_ENDPOINT_URL: <REPLACE_WITH_S3_ENDPOINT>
|
||||
AWS_S3_CUSTOM_DOMAIN: bm.keyboardvagabond.com
|
||||
# Backblaze B2 doesn't support ACLs - disable them with empty string
|
||||
AWS_DEFAULT_ACL: ""
|
||||
AWS_S3_OBJECT_PARAMETERS: '{"CacheControl": "max-age=86400"}'
|
||||
|
||||
# Media and File Upload Settings
|
||||
MEDIA_ROOT: /app/images
|
||||
STATIC_ROOT: /app/static
|
||||
FILE_UPLOAD_MAX_MEMORY_SIZE: "10485760" # 10MB
|
||||
DATA_UPLOAD_MAX_MEMORY_SIZE: "10485760" # 10MB
|
||||
|
||||
# Federation and ActivityPub Settings
|
||||
ENABLE_PREVIEW_IMAGES: "true"
|
||||
ENABLE_THUMBNAIL_GENERATION: "true"
|
||||
MAX_STREAM_LENGTH: "200"
|
||||
|
||||
# Celery Flower Configuration (Non-Sensitive)
|
||||
FLOWER_USER: sysadmin
|
||||
Reference in New Issue
Block a user