This commit is contained in:
2025-11-28 00:38:25 +08:00
parent 417fcf897c
commit 6ad93db655
4 changed files with 81 additions and 26 deletions

View File

@@ -18,23 +18,19 @@ spec:
spec:
containers:
- name: esm
image: ghcr.io/esm-dev/esm.sh:v136
image: ghcr.io/esm-dev/esm.sh:v136_1
ports:
- containerPort: 12000
protocol: TCP
env:
- name: LOG_LEVEL
value: "info"
- name: NPM_REGISTRY
value: "https://registry.npmmirror.com/"
- name: STORAGE_TYPE
value: "s3"
- name: STORAGE_S3_ENDPOINT
value: "http://kevisual.cn:9000"
- name: STORAGE_S3_ACCESS_KEY_ID
value: "abearxiong"
- name: STORAGE_S3_SECRET_ACCESS_KEY
value: "xiongxiao"
command: ["esmd", "--config", "/esmd/config.json"]
volumeMounts:
- name: esm-data
mountPath: /esmd
volumes:
- name: esm-data
hostPath:
path: /opt/docker/esm/data
type: Directory
nodeSelector:
machine: "kevisual"