mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
update ghost
This commit is contained in:
@@ -7,9 +7,11 @@ ghost
|
||||
|
||||
```yaml
|
||||
ghost:
|
||||
image: ghost
|
||||
image: ghost:alpine
|
||||
ports:
|
||||
- "127.0.0.1:2368:2368"
|
||||
volumes:
|
||||
- ./data:/var/lib/ghost
|
||||
restart: always
|
||||
```
|
||||
|
||||
@@ -17,11 +19,9 @@ ghost:
|
||||
|
||||
```bash
|
||||
$ docker-compose up -d
|
||||
$ docker-compose exec ghost bash
|
||||
>>> cd /var/lib/ghost/
|
||||
>>> sed -i 's@http://localhost:2368@https://blog.easypi.info@' config.js
|
||||
>>> grep -rIl 'googleapis' core content | xargs sed -i 's/googleapis/useso/g'
|
||||
>>> exit
|
||||
$ cd data
|
||||
$ sed -i 's@http://localhost:2368@https://blog.easypi.info@' config.js
|
||||
$ grep -rIl 'googleapis' core content | xargs sed -i 's/googleapis/useso/g'
|
||||
$ docker-compose restart
|
||||
```
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
FROM easypi/alpine-arm
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
ENV GHOST_VER 0.11.3
|
||||
ENV GHOST_VER 0.11.8
|
||||
ENV GHOST_URL https://ghost.org/archives/ghost-$GHOST_VER.zip
|
||||
ENV GHOST_SOURCE /usr/src/ghost
|
||||
ENV GHOST_CONTENT /var/lib/ghost
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
ghost:
|
||||
image: easypi/ghost-arm
|
||||
ports:
|
||||
- "2368:2368"
|
||||
- "127.0.0.1:2368:2368"
|
||||
volumes:
|
||||
- ./data:/var/lib/ghost
|
||||
restart: always
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
ghost:
|
||||
image: ghost
|
||||
image: ghost:alpine
|
||||
ports:
|
||||
- "127.0.0.1:2368:2368"
|
||||
volumes:
|
||||
- ./data:/var/lib/ghost
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user