Sha256: f07bc2d8638e83ad79df19febfea9a2c8d18790e5757a7185d1b17830f571cab
Contents?: true
Size: 444 Bytes
Versions: 11
Compression:
Stored size: 444 Bytes
Contents
CarrierWave.configure do |config| config.storage = :aws config.aws_bucket = ENV["S3_BUCKET_NAME"] config.aws_acl = :public_read config.asset_host = "#{ENV["AWS_ASSET_HOST"]}/#{ENV["S3_BUCKET_NAME"]}" config.aws_authenticated_url_expiration = 60 * 60 * 24 * 365 config.aws_credentials = { access_key_id: ENV["AWS_ACCESS_KEY_ID"], secret_access_key: ENV["AWS_ACCESS_KEY"]} config.root = Rails.root.join('tmp') end
Version data entries
11 entries across 11 versions & 1 rubygems