Akash私有化部署Ghost
SDL样例
- 注意1
# 该参数初次部署的时候删除,等待部署成功后看到URI地址后再把URI地址配置在这里点击update来实现更新
- url=https://rr32tcb6alckj3to653av60qog.ingress.d3akash.cloud/
- 注意2
'- mail__options__auth__pass=re_bxxx' 这一行的值为你注册的https://resend.com/ 生成的API Key
---
version: "2.0"
services:
ghost:
image: ghost:latest
expose:
- port: 2368
as: 80
to:
- global: true
http_options:
max_body_size: 524288000
env:
- NODE_ENV=production
# 改参数初次部署的时候删除,等待部署成功后看到URI地址后再把URI地址配置在这里点击update来实现更新
- url=https://rr32tcb6alckj3to653av60qog.ingress.d3akash.cloud/
- database__client=sqlite3
- database__connection__filename=content/data/ghost.db
- mail__transport=SMTP
- mail__options__host=smtp.resend.com
- mail__options__port=587
- mail__options__secure=false
- mail__options__requireTLS=true
- mail__options__auth__user=resend
- mail__options__auth__pass=re_bxxx
- mail__from=noreply@resend.dev
profiles:
compute:
ghost:
resources:
cpu:
units: 1.0
memory:
size: 1Gi
storage:
size: 5Gi
placement:
akash:
attributes:
host: akash
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
ghost:
denom: uakt
amount: 10000
deployment:
ghost:
akash:
profile: ghost
count: 1