Since the project will run on docker, you must have docker installed on your computer.
You must change the .env.example file name to .env and enter the required information.
git clone https://github.com/mstgnz/go-minio-cdn.git
docker-compose up -d
minio -> http://localhost:9000
golang -> http://localhost:9090
POST: (Minio) http://localhost:9090/upload
POST: (Minio And Aws S3) http://localhost:9090/upload-with-aws
WIDTH: Authorization (env.example)
KEY | VALUE |
---|---|
bucket | bucket name |
path | slider |
file | choose file |
GET IMAGE : http://localhost:9090/bucket-name/object-name
GET IMAGE WIDTH SIZE : http://localhost:9090/bucketname/300/250/object-name
DELETE: (Minio) http://localhost:9090/delete
DELETE: (Minio And Aws S3) http://localhost:9090/delete-with-aws
WIDTH: Authorization (env.example)
KEY | VALUE |
---|---|
bucket | bucket name |
object | object name |
go s3 pkg
aws storage service
minio golang sdk
imagemagick releases
aws-s3-glacier
aws-cli-glacier