Created
January 5, 2018 15:50
-
-
Save jmaitrehenry/294da1d4327deb16c85d86e304fc8fb8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
ghost: | |
image: ghost:1.19-alpine@sha256:43202bbb638a92e0411aea28605dae4d2714223fd6194190f6ea30dd6a5edd0e | |
networks: | |
- webgateway | |
environment: | |
server__host: "0.0.0.0" | |
mail__from: "Julien Maitrehenry <[email protected]>" | |
mail__transport: "SMTP" | |
mail__options__host: "in-v3.mailjet.com" | |
mail__options__service: "Mailjet" | |
mail__options__auth__user: "xxx" | |
mail__options__auth__pass: "yyy" | |
DEBUG: "ghost:*,ghost-config" | |
url: "https://jmaitrehenry.ca" | |
volumes: | |
- ghost-data:/var/lib/ghost/content | |
deploy: | |
labels: | |
- "traefik.port=2368" | |
- "traefik.frontend.rule=Host:jmaitrehenry.ca" | |
replicas: 2 | |
update_config: | |
parallelism: 1 | |
failure_action: rollback | |
delay: 10s | |
restart_policy: | |
condition: on-failure | |
volumes: | |
ghost-data: | |
networks: | |
webgateway: | |
driver: overlay | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment