1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00: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

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

24
ghost/README.md Normal 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

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

@ -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