S3 Storage, Webapp

This configuration uses S3 for asset storage while maintaining a standard web application deployment.

Configuration Requirements

  • In config.json set storage_backend to ‘s3’

  • Fill in the s3 config with what’s appropriate for your bucket, make sure your api credential has read + write on the bucket

  • Ensure you s3 bucket has a domain. In config.json set the cdn_domain to that domain

{
  "app": {
    "inet_path": "https://mycooldomain.org/",
    "storage_backend": "local",
    "web_page": {
      "title": "Podcast Archive",
      "description": "My Cool  Podcast Archive",
      "contact": "email@example.com"
    },
    "s3": {
      "cdn_domain": "https://cdn.mycooldomain.org/",
      "api_url": "<api url>",
      "bucket": "<bucket name>",
      "access_key_id": "<access_key_id>",
      "secret_access_key": "<secret_access_key>"
    }
  },
  "podcasts": [
    {
      "url": "https://feeds.megaphone.fm/replyall",
      "new_name": "Reply All [Archive]",
      "name_one_word": "replyall",
      "description": "",
      "live": true,
      "contact_email": "archivepodcast@localhost"
    }
  ],
  "logging": {
    "level": "INFO",
    "path": ""
  }
}