Files
ghost.sori.studio/docker-compose.yml
2026-04-17 16:38:39 +09:00

34 lines
987 B
YAML

services:
ghost:
image: ghost:6-alpine
container_name: ghost-theme-local
restart: unless-stopped
ports:
- "2368:2368"
environment:
url: http://localhost:2368
NODE_ENV: development
database__client: sqlite3
database__connection__filename: /var/lib/ghost/content/data/ghost-local.db
mail__transport: SMTP
mail__from: "Ghost Local <noreply@localhost>"
mail__options__host: mailpit
mail__options__port: 1025
mail__options__secure: "false"
mail__options__ignoreTLS: "true"
mail__options__auth__user: ""
mail__options__auth__pass: ""
volumes:
- ./.docker/ghost/content:/var/lib/ghost/content
- ./.docker/theme/zenless-column-flow:/var/lib/ghost/content/themes/zenless-column-flow
depends_on:
- mailpit
mailpit:
image: axllent/mailpit:latest
container_name: ghost-theme-mailpit
restart: unless-stopped
ports:
- "1025:1025"
- "8025:8025"