fix deployment
This commit is contained in:
parent
5e3c6971bc
commit
416d7cb992
1 changed files with 42 additions and 1 deletions
|
|
@ -64,11 +64,16 @@ spec:
|
||||||
- name: gateway
|
- name: gateway
|
||||||
image: ghcr.io/openclaw/openclaw:slim
|
image: ghcr.io/openclaw/openclaw:slim
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
|
||||||
command:
|
command:
|
||||||
- node
|
- node
|
||||||
- /app/dist/index.js
|
- /app/dist/index.js
|
||||||
- gateway
|
- gateway
|
||||||
- run
|
- run
|
||||||
|
ports:
|
||||||
|
- name: gateway
|
||||||
|
containerPort: 18789
|
||||||
|
protocol: TCP
|
||||||
env:
|
env:
|
||||||
- name: HOME
|
- name: HOME
|
||||||
value: /home/node
|
value: /home/node
|
||||||
|
|
@ -76,7 +81,43 @@ spec:
|
||||||
value: /home/node/.openclaw
|
value: /home/node/.openclaw
|
||||||
- name: NODE_ENV
|
- name: NODE_ENV
|
||||||
value: production
|
value: production
|
||||||
# your secrets ...
|
- name: NPM_CONFIG_CACHE
|
||||||
|
value: /tmp/.npm
|
||||||
|
- name: OPENCLAW_GATEWAY_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openclaw-secrets
|
||||||
|
key: OPENCLAW_GATEWAY_TOKEN
|
||||||
|
- name: ANTHROPIC_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openclaw-secrets
|
||||||
|
key: ANTHROPIC_API_KEY
|
||||||
|
optional: true
|
||||||
|
- name: TELEGRAM_BOT_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openclaw-secrets
|
||||||
|
key: TELEGRAM_BOT_TOKEN
|
||||||
|
optional: true
|
||||||
|
- name: GEMINI_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openclaw-secrets
|
||||||
|
key: GEMINI_API_KEY
|
||||||
|
optional: true
|
||||||
|
- name: OPENROUTER_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openclaw-secrets
|
||||||
|
key: OPENROUTER_API_KEY
|
||||||
|
optional: true
|
||||||
|
- name: XAI_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: xai-apikey
|
||||||
|
key: XAI_API_KEY
|
||||||
|
optional: true
|
||||||
|
|
||||||
# Force npm cache to a writable location
|
# Force npm cache to a writable location
|
||||||
- name: NPM_CONFIG_CACHE
|
- name: NPM_CONFIG_CACHE
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue