Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruanbekker/ghost-armhf
Ghost Blog on Docker for ARM
https://github.com/ruanbekker/ghost-armhf
arm armhf blog ghost nodejs raspberrypi
Last synced: 13 days ago
JSON representation
Ghost Blog on Docker for ARM
- Host: GitHub
- URL: https://github.com/ruanbekker/ghost-armhf
- Owner: ruanbekker
- Created: 2018-08-20T21:50:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-03T22:43:54.000Z (over 6 years ago)
- Last Synced: 2025-01-01T13:47:33.272Z (19 days ago)
- Topics: arm, armhf, blog, ghost, nodejs, raspberrypi
- Language: Dockerfile
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ghost-armhf [![Codefresh build status]( https://g.codefresh.io/api/badges/pipeline/arm_alpha/ruanbekker%2Fghost-armhf%2Fghost-armhf?branch=master&key=eyJhbGciOiJIUzI1NiJ9.NWI0NGRjNmExZDVkMDYwMDAxZDI4NWJl.npctK3AbmWlwYzvnK_U6qv-4XBNMqrEyCoGVbFPeMjY&type=cf-1)]( https://g.codefresh.io/repositories/ruanbekker/ghost-armhf/builds?filter=trigger:build;branch:master;service:5b7b4c3baedcd048f8ccbec4~ghost-armhf)
Ghost Blog on Docker for ARM
## Environment Variables:
```
- SERVER_URL=mydomain.com
```Updates the url in the below config:
```
{
"url": "http://localhost:2368",
"server": {
"port": 2368,
"host": "0.0.0.0"
},
...
```If no environment variable is specified, the defaults will be kept.
## Add-Ons:
You can use this with a Nginx Reverse Proxy:
- https://github.com/ruanbekker/nginx-cache-armhf## Docker Hub Image:
- https://hub.docker.com/r/rbekker87/armhf-ghost/
## Setup a Stack on Swarm with Nginx and Ghost:
```bash
$ wget https://raw.githubusercontent.com/ruanbekker/ghost-armhf/master/docker-compose.yml
```Replace your traefik labels, then deploy the stack:
```bash
$ docker stack deploy -c docker-compose.yml newblog
Creating service newblog_frontend-blog
Creating service newblog_backend-blog
```Once your stack is deployed, test out the caching:
```bash
$ curl -I http://newblog.domain.co.za
HTTP/1.1 200 OK
Cache-Control: max-age=86400
Cache-Control: public
Content-Length: 16806
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Aug 2018 22:54:12 GMT
Etag: W/"41a6-vvltA1T18qr7iPjx21ccHA+5cgc"
Expires: Tue, 21 Aug 2018 22:54:12 GMT
Server: nginx
Vary: Accept-Encoding
Vary: Accept-Encoding
X-Cache-Status: MISS
X-Powered-By: Express$ curl -I http://newblog.domain.co.za
HTTP/1.1 200 OK
Cache-Control: max-age=86400
Cache-Control: public
Content-Length: 16806
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Aug 2018 22:54:34 GMT
Etag: W/"41a6-vvltA1T18qr7iPjx21ccHA+5cgc"
Expires: Tue, 21 Aug 2018 22:54:34 GMT
Server: nginx
Vary: Accept-Encoding
Vary: Accept-Encoding
X-Cache-Status: HIT
X-Powered-By: Express
```