mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
add ghost
This commit is contained in:
parent
ac5a8c8b2d
commit
f2d96f79d4
@ -70,6 +70,7 @@ dockerfiles
|
|||||||
## 3rd-party
|
## 3rd-party
|
||||||
|
|
||||||
- [x] builder
|
- [x] builder
|
||||||
|
- [x] ghost
|
||||||
- [x] gitlab
|
- [x] gitlab
|
||||||
- [x] logspout
|
- [x] logspout
|
||||||
- [x] openvpn
|
- [x] openvpn
|
||||||
|
24
ghost/README.md
Normal file
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
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
|
- name: ensure docker is installed
|
||||||
apt:
|
apt:
|
||||||
pkg: docker.io
|
name: docker.io
|
||||||
default_release: jessie-backports
|
default_release: jessie-backports
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
state: latest
|
state: latest
|
||||||
|
Loading…
Reference in New Issue
Block a user