Skip to content

部署

Docker Compose(单机)

bash
# 构建并启动
docker compose up -d --build

# 查看日志
docker compose logs -f

# 停止
docker compose down

Kubernetes(集群)

使用 Helm Chart 部署到 Kubernetes 集群:

bash
helm upgrade --install aemeath ./helm/aemeath \
  --namespace aemeath \
  --create-namespace \
  --values ./helm/aemeath/values.yaml

环境变量

变量说明默认值
NODE_ENV运行环境production
PORT服务端口3000
DATABASE_URL数据库连接

TIP

完整环境变量列表见仓库中的 .env.example

以 MIT 协议开源