support S3 for file storage (#15)

* feat: support S3 for file storage

* doc: fmt env template
This commit is contained in:
Kould
2023-12-25 11:02:27 +08:00
committed by GitHub
parent 6858ec5f38
commit f4d1c724dd
6 changed files with 117 additions and 87 deletions

View File

@@ -1,3 +1,9 @@
# Database
HOST=127.0.0.1
PORT=8000
DATABASE_URL="postgresql://infiniflow:infiniflow@localhost/docgpt"
DATABASE_URL="postgresql://infiniflow:infiniflow@localhost/docgpt"
# S3 Storage
S3_BASE_URL="https://play.min.io"
S3_ACCESS_KEY="Q3AM3UQ867SPQQA43P2F"
S3_SECRET_KEY="zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG"