作者 yangfu

添加日志

appname = partner
runmode = "${RUN_MODE||dev}"
httpport = "${HTTP_PORT||8080}"
httpport = "${HTTP_PORT||8082}"
#开启监控
EnableAdmin = false
... ...
... ... @@ -9,7 +9,7 @@ spec:
ports:
- name: "http"
port: 80
targetPort: 8080
targetPort: 8082
selector:
k8s-app: mmmpartner
---
... ... @@ -47,7 +47,7 @@ spec:
image: 192.168.0.243:5000/mmm/partner:dev
imagePullPolicy: Always
ports:
- containerPort: 8080
- containerPort: 8082
volumeMounts:
- mountPath: /opt/logs
name: accesslogs
... ...