Skip to content

Commit 80acded

Browse files
committed
feat: ghost 6 release
1 parent b66a40d commit 80acded

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghost:5-alpine
1+
FROM ghost:6.10-alpine
22

33
WORKDIR /var/lib/ghost
44

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Ghost S3 Storage Adapter
22

3-
This image contains Ghost:5.81.0 with S3 as storage adapter and Cloudfront as CDN.
4-
5-
To configure S3 and Cloudfront, you need to pass following environment variables:
3+
This image contains Ghost:6.10 with S3 as storage adapter and Cloudfront as CDN. It also supports other S3 compatible storages. Read more [here](https://github.com/laosb/ghos3).
64

5+
### To configure S3 and Cloudfront, you need to pass following environment variables:
76
```yaml
87
storage__active: s3
98
storage__s3__accessKeyId: <AWS IAM User>
@@ -18,6 +17,24 @@ To configure S3 and Cloudfront, you need to pass following environment variables
1817
1918
Need help setting up IAM user, S3 bucket and Cloudfront? See [this guide for S3](https://youtu.be/eQAIojcArRY?si=zfGmxBu7J18vcijD&t=529) and [this for Cloudfront](https://youtu.be/kbI7kRWAU-w?si=hAtwkz-lZNF-Volz&t=129)
2019
20+
21+
### To configure Cloudflare R2, you need to pass following environment variables:
22+
```yaml
23+
storage__active: s3
24+
storage__media__adapter: s3
25+
storage__files__adapter: s3
26+
storage__s3__accessKeyId: <R2 Access ID>
27+
storage__s3__secretAccessKey: <R2 Access Key>
28+
storage__s3__region: auto
29+
storage__s3__bucket: <bucket name>
30+
storage__s3__assetHost: <R2 custom URL> # https://<URL>
31+
storage__s3__pathPrefix: images # Optional, Set this if you want all images to be stored in a subfolder
32+
storage__s3__endpoint: https://xxx.r2.cloudflarestorage.com
33+
storage__s3__forcePathStyle: true
34+
storage__s3__acl: ""
35+
```
36+
37+
2138
## How to Use?
2239
This will start a Ghost development instance listening on the default Ghost port of 2368.
2340

0 commit comments

Comments
 (0)