mirror of
https://github.com/we-promise/sure.git
synced 2026-05-12 15:15:01 +00:00
Add Google Cloud Storage Support for Active Storage (#1523)
* feat: add gcs for activestorage service provider * docs: add gcs keys to .env.example
This commit is contained in:
10
.env.example
10
.env.example
@@ -145,7 +145,7 @@ POSTHOG_HOST=
|
||||
# Active Storage Configuration - responsible for storing file uploads
|
||||
# ======================================================================================================
|
||||
#
|
||||
# * Defaults to disk storage but you can also use Amazon S3 or Cloudflare R2
|
||||
# * Defaults to disk storage but you can also use Amazon S3, Cloudflare R2, or Google Cloud Storage
|
||||
# * Set the appropriate environment variables to use these services.
|
||||
# * Ensure libvips is installed on your system for image processing - https://github.com/libvips/libvips
|
||||
#
|
||||
@@ -174,3 +174,11 @@ POSTHOG_HOST=
|
||||
# GENERIC_S3_BUCKET=
|
||||
# GENERIC_S3_ENDPOINT=
|
||||
# GENERIC_S3_FORCE_PATH_STYLE= <- defaults to false
|
||||
#
|
||||
# Google Cloud Storage
|
||||
# ====================
|
||||
# ACTIVE_STORAGE_SERVICE=google <- Enables Google Cloud Storage
|
||||
# GCS_PROJECT=
|
||||
# GCS_BUCKET=
|
||||
# GCS_KEYFILE_JSON= <- JSON content of service account key (preferred)
|
||||
# GCS_KEYFILE= <- path to service account JSON key file
|
||||
|
||||
Reference in New Issue
Block a user