The project is in a healthy, maintained state
ActiveStorage Service for VNG Storage
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

VNG Storage ActiveStorage is a custom service of ActiveStorage to support VNG Cloud. This service is reuse S3 SDK from S3 Service of ActiveStorage.

Installation

gem 'vng_storage_active_storage'

Configuration

vstorage:
  service: Vstorage
  endpoint: <%= ENV['VCLOUD_ENDPOINT'] %>
  region: <%= ENV['VCLOUD_REGION'] %>
  bucket: <%= ENV['VCLOUD_BUCKET'] %>
  access_key_id: <%= ENV['VCLOUD_ACCESS_KEY'] %>
  secret_access_key: <%= ENV['VCLOUD_SECRET_KEY'] %>
  public: true
  force_path_style: true
  upload:
    project_id: <%= ENV['VCLOUD_PROJECT_ID'] %>
    client_id: <%= ENV['VCLOUD_SERVICE_ACCOUNT_CLIENT_ID'] %>
    client_secret: <%= ENV['VCLOUD_SERVICE_ACCOUNT_CLIENT_SECRET'] %>