Skip to content

Instantly share code, notes, and snippets.

@johackim johackim/stack.yml
Created Oct 6, 2018

Embed
What would you like to do?
version: '3'
services:
web:
image: ghost:2.2
ports:
- 0:2368
volumes:
- ghost:/var/lib/ghost/content
environment:
url: http://${DOMAIN}:${PORT}
database__client: mysql
database__connection__host: db
database__connection__user: root
database__connection__password: example
database__connection__database: ghost
db:
image: mysql:5.7
volumes:
- mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: example
volumes:
ghost:
driver: local
mysql:
driver: local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.