fix(dev): correct mobile and print startup
This commit is contained in:
parent
07a82e3b2f
commit
fc5e350bd3
@ -32,16 +32,17 @@ spec:
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- env:
|
||||
- name: PORT
|
||||
value: '80'
|
||||
- name: GR2740169999_HOST
|
||||
value: mom-gateway
|
||||
- name: GR2740169999_PORT
|
||||
value: '9999'
|
||||
- name: GATEWAY_HOST
|
||||
value: mom-gateway
|
||||
- name: GATEWAY_PORT
|
||||
value: '9999'
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
@ -75,4 +76,3 @@ spec:
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
|
||||
@ -34,9 +34,14 @@ spec:
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
- command:
|
||||
- java
|
||||
- -Xms256m
|
||||
- -Xmx1g
|
||||
- -Dfile.encoding=UTF-8
|
||||
- -Djava.security.egd=file:/dev/./urandom
|
||||
- -jar
|
||||
- nlv-print.jar
|
||||
env:
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
@ -73,7 +78,7 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nalinv-print
|
||||
ports:
|
||||
- containerPort: 80
|
||||
- containerPort: 6066
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
@ -89,4 +94,21 @@ spec:
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-print
|
||||
name: imes-custom-nalinv-print
|
||||
namespace: dev
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: imes-custom-nalinv-print
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 6066
|
||||
nodePort: 30657
|
||||
|
||||
Loading…
Reference in New Issue
Block a user