Files
myapp/ghost/ghost.yaml

20 lines
1.1 KiB
YAML

version: '3'
services:
blog:
image: ghost
ports:
- "8002:2368"
deploy:
placement:
constraints: [node.role == manager]
volumes:
- data:/var/lib/ghost/content
environment:
mail_transport: SMTP
mail_options_service: smtp.139.com
mail_options_auth_user: shaojj
mail_options_auth_pass: imwolf
volumes:
data: