更新多个应用的镜像地址,调整数据存储路径,新增 Traefik 配置,删除无用的 Keycloak 配置文件,添加必须执行的脚本
This commit is contained in:
@@ -16,7 +16,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: esm
|
||||
image: ghcr.io/esm-dev/esm.sh:v136_1
|
||||
image: docker.cnb.cool/kevisual/dev-env/esm.sh:v137
|
||||
ports:
|
||||
- containerPort: 12000
|
||||
protocol: TCP
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
volumes:
|
||||
- name: esm-data
|
||||
hostPath:
|
||||
path: /opt/docker/esm/data
|
||||
path: /root/kevisual/k8s/esm/data
|
||||
type: Directory
|
||||
nodeSelector:
|
||||
machine: "kevisual"
|
||||
|
||||
@@ -18,7 +18,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: jimeng-api
|
||||
image: ghcr.io/iptag/jimeng-api:latest
|
||||
image: docker.cnb.cool/kevisual/dev-env/jimeng-api:v1.9.5
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 5100
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
---
|
||||
# Keycloak - keycloak.kevisual.cn
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: keycloak-https
|
||||
namespace: default
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`keycloak.kevisual.cn`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: keycloak-external
|
||||
port: 8082
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
---
|
||||
# Keycloak 服务 (端口 8082, 本地)
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: keycloak-external
|
||||
namespace: default
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 8082
|
||||
targetPort: 8082
|
||||
protocol: TCP
|
||||
name: http
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: keycloak-external
|
||||
namespace: default
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 118.196.32.29
|
||||
ports:
|
||||
- port: 8082
|
||||
name: http
|
||||
@@ -19,7 +19,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: postgres
|
||||
image: postgres:17.6
|
||||
image: docker.cnb.cool/kevisual/dev-env/postgres:17.6
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
env:
|
||||
@@ -59,7 +59,7 @@ spec:
|
||||
volumes:
|
||||
- name: postgres-storage
|
||||
hostPath:
|
||||
path: /opt/docker/nocodb/postgres_data
|
||||
path: /root/kevisual/k8s/nocodb/postgres_data
|
||||
type: Directory
|
||||
nodeSelector:
|
||||
machine: "kevisual"
|
||||
@@ -99,7 +99,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: nocodb
|
||||
image: nocodb/nocodb:latest
|
||||
image: docker.cnb.cool/kevisual/dev-env/nocodb:0.301.3
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
env:
|
||||
@@ -121,7 +121,7 @@ spec:
|
||||
volumes:
|
||||
- name: nc-data-storage
|
||||
hostPath:
|
||||
path: /opt/docker/nocodb/nc_data
|
||||
path: /root/kevisual/k8s/nocodb/nc_data
|
||||
type: Directory
|
||||
nodeSelector:
|
||||
machine: "kevisual"
|
||||
|
||||
@@ -16,7 +16,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: openlist
|
||||
image: docker.1ms.run/openlistteam/openlist:latest
|
||||
image: docker.cnb.cool/kevisual/dev-env/openlist:v4.1.10
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
ports:
|
||||
@@ -31,7 +31,7 @@ spec:
|
||||
volumes:
|
||||
- name: openlist-data
|
||||
hostPath:
|
||||
path: /opt/docker/openlist/data
|
||||
path: /root/kevisual/k8s/openlist/data
|
||||
type: DirectoryOrCreate
|
||||
nodeSelector:
|
||||
machine: "kevisual"
|
||||
|
||||
Reference in New Issue
Block a user