Defining DISCOURSE_S3_CDN_URL links to assets in S3 CDN URL

You can check what variables we set here infra/modules/services/discourse/web.yml at master · debtcollective/infra · GitHub

These are the variables we set related to S3/CDN

  • DISCOURSE_CDN_URL
  • DISCOURSE_S3_ACCESS_KEY_ID
  • DISCOURSE_S3_BACKUP_BUCKET
  • DISCOURSE_S3_CDN_URL
  • DISCOURSE_S3_REGION
  • DISCOURSE_S3_SECRET_ACCESS_KEY
  • DISCOURSE_S3_UPLOAD_BUCKET
  • USE_DB_S3_CONFIG: true

I think DISCOURSE_S3_BUCKET was deprecated in favor or DISCOURSE_S3_UPLOAD_BUCKET and DISCOURSE_S3_BACKUP_BUCKET. You should set these instead.

1 Like