...
|
...
|
@@ -46,14 +46,19 @@ spec: |
|
|
- name: opp
|
|
|
image: 192.168.0.243:5000/mmm/opp:dev
|
|
|
imagePullPolicy: Always
|
|
|
ports:
|
|
|
- containerPort: 8080
|
|
|
volumeMounts:
|
|
|
- mountPath: /opt/logs
|
|
|
name: accesslogs
|
|
|
- mountPath: /var/www/opp/file
|
|
|
name: mmmjihuitest-pvc1
|
|
|
ports:
|
|
|
- containerPort: 8080
|
|
|
env:
|
|
|
- name: ENTERPRISE_SERVICE_HOST
|
|
|
valueFrom:
|
|
|
configMapKeyRef:
|
|
|
name: suplus-config
|
|
|
key: service.enterprise
|
|
|
- name: MYSQL_HOST
|
|
|
valueFrom:
|
|
|
configMapKeyRef:
|
...
|
...
|
@@ -74,12 +79,28 @@ spec: |
|
|
configMapKeyRef:
|
|
|
name: suplus-config
|
|
|
key: mysql.password
|
|
|
- name: REDIS_HOST
|
|
|
valueFrom:
|
|
|
configMapKeyRef:
|
|
|
name: suplus-config
|
|
|
key: redis.ip
|
|
|
- name: REDIS_PORT
|
|
|
valueFrom:
|
|
|
configMapKeyRef:
|
|
|
name: suplus-config
|
|
|
key: redis.port
|
|
|
- name: MYSQL_DB_NAME
|
|
|
value: "opportunity_dev"
|
|
|
- name: aliyun_logs_suplusfile
|
|
|
- name: LOG_LEVEL
|
|
|
value: "debug"
|
|
|
- name: RUN_MODE
|
|
|
value: "test"
|
|
|
- name: aliyun_logs_suplus
|
|
|
value: "stdout"
|
|
|
- name: aliyun_logs_access
|
|
|
value: " /opt/logs/app.log"
|
|
|
value: "/opt/logs/opp_app.log"
|
|
|
- name: aliyun_file_access
|
|
|
value: "/var/www/opp/file"
|
|
|
volumes:
|
|
|
- name: accesslogs
|
|
|
emptyDir: {}
|
...
|
...
|
|