Hello there !
I want to make my files and images to persist between deployments.
Does any one has already connect a GCS bucket to Directus ?
I followed the configuration doc
https://docs.directus.io/self-hosted/config-options.html#file-storage
I add all permission to a service account.
I put the service account key file at the root on my project and add theses parameters to the directus.config.js :
STORAGE_LOCATIONS: "gcs",
STORAGE_GCS_DRIVER: "gcs",
STORAGE_GCS_HEALTHCHECK_THRESHOLD: 750,
STORAGE_GCS_KEY_FILENAME: "./gcs.json",
STORAGE_GCS_BUCKET: "bucket-name,
But this warn keep coming and nothing appear in the bucket on upload.
[14:25:52.992] WARN: Upload directory (/app/uploads) is not read/writeable!
Thank you guys !
Environment variables are used for all configuration within a Directus project. These variables can be defined in a number of ways, which we cover below.