manifests/chatgpt-web-midjourney-proxy/load.yaml
songtianlun c997b1dc37 chore: update image version and ingress settings
- Bump image version for `chatgpt-web-midjourney-proxy` from 2.22.7 to
  2.23.8.
- Add annotations for NGINX ingress to configure proxy body size,
  read timeout, and send timeout.

These changes enhance the deployment of the application by ensuring
that it uses the latest image version and improves the handling of
larger requests and longer processing time through appropriate NGINX
configuration.
2025-04-21 15:46:36 +08:00

67 lines
2.0 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: app
namespace: chatgpt-web-midjourney-proxy
labels:
app: app
spec:
replicas: 1
selector:
matchLabels:
app: app
template:
metadata:
annotations: {}
labels:
app: app
spec:
#nodeSelector:
# region: us
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: region
operator: NotIn
values:
- cn
containers:
- name: app
image: ydlhero/chatgpt-web-midjourney-proxy:v2.23.8
imagePullPolicy: Always
ports:
- containerPort: 3002
name: web
env:
- name: OPENAI_API_BASE_URL
value: "https://api.uniapi.io"
- name: OPENAI_API_KEY
value: "sk-NUeflgBYPEnMY0IpAc4a493d19D84628B91f4aF80672549e"
- name: OPENAI_API_MODEL
value: "claude-3-5-sonnet-latest"
- name: MJ_SERVER
value: "https://api.uniapi.io"
- name: MJ_API_SECRET
value: "sk-NUeflgBYPEnMY0IpAc4a493d19D84628B91f4aF80672549e"
- name: API_UPLOADER
value: "0"
- name: UPLOAD_TYPE
value: "R2"
- name: R2_DOMAIN
value: "https://209b775a76842f6f305193e41de86be1.r2.cloudflarestorage.com/chatgpt-web-midjourney-proxy"
- name: R2_KEY_ID
value: "e3a1364804a16bd8861409ca600907b4"
- name: R2_KEY_SECRET
value: "7833d3522e36117303b7ee4d435481eb8238ca6b2e9ae223d3837367dcccf7e7"
- name: AUTH_SECRET_KEY
value: "tianlun666"
- name: AUTH_SECRET_ERROR_COUNT
value: "3"
- name: AUTH_SECRET_ERROR_TIME
value: "10"
- name: TZ
value: "Asia/Shanghai"