Skip to content

Instantly share code, notes, and snippets.

@JfrAziz
Created July 20, 2021 04:23
Show Gist options
  • Save JfrAziz/05de0d798a2567b7d3f25d5f1f1fd115 to your computer and use it in GitHub Desktop.
Save JfrAziz/05de0d798a2567b7d3f25d5f1f1fd115 to your computer and use it in GitHub Desktop.
docker compose for deploy ghost using docker
version: '3.8'
services:
ghost:
image: ghost:4-alpine
restart: always
container_name: ghost
ports:
- 8080:2368
volumes:
- ./content:/var/lib/ghost/content
environment:
url: https://domain.com
mail__transport: SMTP
mail__options__host: smtp.eu.mailgun.org
mail__options__port: 587
mail__options__auth__user: mailgunusername
mail__options__auth__pass: mailgunpass
mail__from: From name <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment