Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seanghay/ghost-docker
Ghost CMS - Docker Compose
https://github.com/seanghay/ghost-docker
docker docker-compose ghost mysql
Last synced: about 2 months ago
JSON representation
Ghost CMS - Docker Compose
- Host: GitHub
- URL: https://github.com/seanghay/ghost-docker
- Owner: seanghay
- Created: 2022-01-31T09:25:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-23T09:33:12.000Z (over 2 years ago)
- Last Synced: 2023-03-03T22:04:52.342Z (almost 2 years ago)
- Topics: docker, docker-compose, ghost, mysql
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ghost CMS - Docker Compose
Ghost v4 + MySQL 5.7
[![Validation](https://github.com/seanghay/ghost-docker/actions/workflows/validate.yml/badge.svg)](https://github.com/seanghay/ghost-docker/actions/workflows/validate.yml)
### Prerequisites
1. `ghost.env`
```env
url=http://localhost:8080
NODE_ENV=productiondatabase__client=mysql
database__connection__host=db
database__connection__user=root
database__connection__password=password
database__connection__database=ghost
```2. `db.env`
```env
MYSQL_ROOT_PASSWORD=password
MYSQL_DATABASE=ghost
MYSQL_USER=seanghay
MYSQL_PASSWORD=password
```3. Start
```sh
docker-compose up -d
```4. Stop
```sh
docker-compose down
```> if you want to remove the volume, use `docker-compose down -v`
---
### LICENSE
MIT