You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -136,9 +136,30 @@ You can use below for combining the above commands -
136
136
npm run cleanstart
137
137
```
138
138
139
+
##### Building the Docker Image -
140
+
141
+
```bash
142
+
docker build -t ghosler . --no-cache
143
+
```
144
+
145
+
After a successful local build, run the container -
146
+
147
+
```bash
148
+
docker run --rm name ghosler -d -p 2369:2369 -v ghosler-logs:/usr/src/app/.logs -v ghosler-analytics:/usr/src/app/files -v ghosler-configuration:/usr/src/app/configuration ghosler
149
+
```
150
+
139
151
**Note**: For testing the Docker container over a publicly accessible URL, I used `Cloudflare Tunnel` as it doesn't have
140
152
a startup page like `ngrok` or the `VSCode`'s dev tunnel and works good for testing the Ghost Webhooks.
141
153
154
+
Assuming you have `TryCloudflare CLI` installed, you can do something like this -
155
+
156
+
```bash
157
+
cloudflared tunnel --url http://localhost:2369
158
+
```
159
+
160
+
This command will initialize a tunnel and return a URL that you can use to test.\
161
+
For more info, see - [TryCloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/trycloudflare/).
162
+
142
163
### Custom Template
143
164
144
165
If you want to customize the newsletter template even more, follow the steps -
0 commit comments