Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devpaul/ghost-compose
Ghost deployment using docker-compose
https://github.com/devpaul/ghost-compose
docker ghost
Last synced: 3 months ago
JSON representation
Ghost deployment using docker-compose
- Host: GitHub
- URL: https://github.com/devpaul/ghost-compose
- Owner: devpaul
- Created: 2015-03-18T16:18:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-27T19:35:21.000Z (over 9 years ago)
- Last Synced: 2024-04-14T14:30:23.992Z (9 months ago)
- Topics: docker, ghost
- Language: JavaScript
- Size: 156 KB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ghost blog docker deployment
This is an example ghost blog docker deployment using `docker-compose`. Development is made up of five
containers that host three services. Ghost, Postgres, and MailCatcher run in separate containers, and data
containers are provided for Ghost and Postgres.## Requirements
* docker >= 1.6.0
* docker-compose >= 1.2.0
* (mac or win) boot2docker## Quick Start
There is a race-condition that can cause Postgres to reject Ghost's authentication because Postgres is not
being started in single user mode.* `docker-compose up postgres`
* `docker-compose up`
* connect to http://{ip}:2368Use `boot2docker ip` to look up your docker host's ip address
It is recommended you add `ghost.dev` to your hosts file
## Helpful Commands
### Getting a Shell into a Data Container
get a list of all docker containers using `docker ps -a`run a new container connected to the data container using
`docker run -it --volumes-from centos /bin/bash`
where `` is the hash reported by the docker ps command.## Production deployment
TBD## TODO
* Production deployments do not use the same database structure as development
* Create a good way for initializing postgres