/opt/ghost
docker compose up -d
docker compose down
services:
ghost:
image: ghost:6.50.0-alpine
container_name: ghost
restart: always
ports:
- "2368:2368"
environment:
url: https://www.star.com
TZ: Asia/Shanghai
database__client: sqlite3
database__connection__filename: /var/lib/ghost/content/data/ghost.db
NODE_ENV: production
NODE_OPTIONS: "--max_old_space_size=512"
volumes:
- ./content:/var/lib/ghost/content
mem_limit: 600m
memswap_limit: 1g右下角 power by ghost 删除超链接 主题

{{{t "Powered by {ghostlink}" ghostlink="Ghost"}}}
改为
{{t "Powered by Ghost"}}