英文:
How to setup S3 with Pocketbase
问题
我是新手Pocketbase。我发现Pocketbase提供了S3文件系统配置,但我不知道如何完全设置它。目前,我是将我的图片单独上传到S3,然后将链接保存到数据库中。
我已经设置我的存储桶为公开访问,如果可能的话,你知道我是否可以将我的存储桶设置为仅供Pocketbase访问吗?
英文:
I am new to Pocketbase. I found that Pocketbase offers an S3 file system config but I dont know how to set it up completely. Currently, I am uploading my images to S3 separately then save the link to the DB.
I am setting my bucket publicly accessible, if possible, do you know if I can set my bucket only accessible to pocketbase?
答案1
得分: 4
终点: 你可以在这里获取你的终点
例如:s3.us-west-1.amazonaws.com
你可以检查你的存储桶项目属性,点击任何一个存储桶项目并检查其属性,找到一个名为“对象 URL”的区块
至于其他部分,我已经在我的技术博客中写了,随时可以在那里查看。
英文:
I solved this issue!
endpoint: you can get your endpoint here
example: s3.us-west-1.amazonaws.com
you can check on your bucket item property, click on any of your bucket item and check its property, find a block called Object URL
For the rest, I have written in my tech blog, feel free to check them there.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论