Skip to content

Commit

Permalink
Merge pull request #174 from lovezsh/main
Browse files Browse the repository at this point in the history
Add Cloudflare R2 connection example to README.md
  • Loading branch information
tecc authored May 25, 2023
2 parents fd3b3e5 + 015637e commit d5f8113
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,21 @@ STORE_FORCE_PATH_STYLE=true
PASSWORD=notea
```

### Cloudflare R2

`.env`

```sh
STORE_ACCESS_KEY=
STORE_SECRET_KEY=
STORE_BUCKET=notea
STORE_END_POINT=
STORE_REGION=us-east-1
PASSWORD=notea

# The parameter of STORE_END_POINT is the S3 API link (https://...) stored in r2
```

Other services that support the s3 protocol can also be used.
Contribution examples are welcome.

Expand Down

0 comments on commit d5f8113

Please sign in to comment.