1 Star 0 Fork 0

西河东河/jeecg

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jeecg-web-nginx.yaml 949 Bytes
一键复制 编辑 原始数据 按行查看 历史
hezhipeng 提交于 2020-07-29 09:25 . 修改编排文件image属性
apiVersion: apps/v1
kind: Deployment
metadata:
name: jeecg-web
namespace: jeecg
spec:
replicas: 1
selector:
matchLabels:
app: jeecg-web
template:
metadata:
labels:
app: jeecg-web
spec:
containers:
- name: jeecg-web
image: docker-replace-image
ports:
- containerPort: 80
env:
- name: LANG
value: en_US.utf8
volumeMounts:
- mountPath: /etc/localtime
name: date-config
- mountPath: /usr/local/openresty/nginx/logs/
name: nginx-vol-logs
volumes:
- name: date-config
hostPath:
path: /etc/localtime
- name: nginx-vol-logs
hostPath:
path: /home/logs/jeecg-web/
---
apiVersion: v1
kind: Service
metadata:
name: jeecg-web
namespace: jeecg
labels:
app: jeecg-web
spec:
ports:
- name: http
port: 80
selector:
app: jeecg-web
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangjianyu88/jeecg.git
git@gitee.com:wangjianyu88/jeecg.git
wangjianyu88
jeecg
jeecg
master

搜索帮助