Here is the guide to get started using KIP.
To override default configurations, you can create a .env.local
at the root of the project.
By default, and during development process, the default storage location is set to var/storage
.
You can override this setting by setting your env variable FILE_STORAGE
In the docker container, by default, FILE_STORAGE is set to
/storage
In order to enable S3 Storage, first you will have to change the file storage for an s3 storage path, then set all the s3 settings.
FILE_STORAGE=s3://BUCKET
S3_VERSION=latest
S3_REGION=my-region
S3_KEY=my-key
S3_SECRET=my-secret
S3_ENDPOINT=https://s3-endpoint.url/
By default, values are set to default docker for minio
S3_REGION=minio
S3_KEY=minioadmin
S3_SECRET=minioadmin
S3_ENDPOINT=http://localhost:9000
For AWS S3 it would look like something like this
FILE_STORAGE=s3://BUCKET
S3_VERSION=latest
S3_REGION=eu-west-1
S3_KEY=my-key
S3_SECRET=my-secret
S3_ENDPOINT=https://s3.eu-west-1.amazonaws.com/
You can find more details about your region on AWS documentation.
For other providers you can check Scaleway Object Storage or digitalOcean Spaces