Skip to content

Commit

Permalink
Merge pull request #9 from dekiakbar/8-s3-integration
Browse files Browse the repository at this point in the history
S3 storage
  • Loading branch information
dekiakbar authored Sep 3, 2022
2 parents 34a7485 + 3629e3a commit c998f56
Show file tree
Hide file tree
Showing 22 changed files with 1,459 additions and 245 deletions.
17 changes: 16 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
PORT=3000
# Web API port
PORT=8000

# Storage type for save image
# valid :
# - S3
# - imagekit
STORAGE_TYPE=S3

# if use S3 as storage
S3_BUCKET_NAME=
S3_REGION=global
S3_ENDPOINT=
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=

# if use imagekit as storage
IMAGEKIT_PUBLIC_KEY=<YOUR_IMAGEKIT_PUBLIC_KEY>
IMAGEKIT_PRIVATE_KEY=<YOUR_IMAGEKIT_PRIVATE_KEY>
URL_ENDPOINT=<YOUR_IMAGEKIT_ENDPOINT>
Expand Down
Loading

0 comments on commit c998f56

Please sign in to comment.