feat: 生产环境配置 EXTERNAL_API_BASE=lnh2e.com 和 JWT_SECRET
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17,4 +17,6 @@ COPY tsconfig.json ./
|
|||||||
|
|
||||||
EXPOSE 3001
|
EXPOSE 3001
|
||||||
ENV SERVER_PORT=3001
|
ENV SERVER_PORT=3001
|
||||||
|
ENV EXTERNAL_API_BASE=https://lnh2e.com
|
||||||
|
ENV JWT_SECRET=ln-bi-jwt-prod-secret
|
||||||
CMD ["npm", "run", "start"]
|
CMD ["npm", "run", "start"]
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ services:
|
|||||||
DB_PASSWORD: "LN3456#&"
|
DB_PASSWORD: "LN3456#&"
|
||||||
DB_NAME: "lingniu_prod"
|
DB_NAME: "lingniu_prod"
|
||||||
SERVER_PORT: "8111"
|
SERVER_PORT: "8111"
|
||||||
|
EXTERNAL_API_BASE: "https://lnh2e.com"
|
||||||
|
JWT_SECRET: "ln-bi-jwt-prod-k8s9m2x7"
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
|
|||||||
Reference in New Issue
Block a user