1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

add ghost

This commit is contained in:
kev 2015-08-31 07:53:16 +08:00
parent ac5a8c8b2d
commit f2d96f79d4
4 changed files with 31 additions and 1 deletions

View File

@ -70,6 +70,7 @@ dockerfiles
## 3rd-party
- [x] builder
- [x] ghost
- [x] gitlab
- [x] logspout
- [x] openvpn

24
ghost/README.md Normal file
View File

@ -0,0 +1,24 @@
ghost
=====
## docker-compose.yml
```
ghost:
image: ghost
ports:
- "127.0.0.1:2368:2368"
restart: always
```
## Up and Running
```
$ docker-compose up -d
$ docker exec -it ghost_ghost_1 bash
>>> cd /var/lib/ghost/
>>> sed -i 's/localhost:2368/blog.datageek.info/' config.js
>>> sed -i '/google/d' themes/casper/default.hbs
>>> exit
$ docker-compose restart
```

5
ghost/docker-compose.yml Normal file
View File

@ -0,0 +1,5 @@
ghost:
image: ghost
ports:
- "127.0.0.1:2368:2368"
restart: always

View File

@ -12,7 +12,7 @@
- name: ensure docker is installed
apt:
pkg: docker.io
name: docker.io
default_release: jessie-backports
update_cache: yes
state: latest