Commit 3cf766db authored by Ben Anderson's avatar Ben Anderson

Updated deployment file

parent f1483ac8
...@@ -6,7 +6,6 @@ spec: ...@@ -6,7 +6,6 @@ spec:
replicas: 2 replicas: 2
selector: selector:
matchLabels: matchLabels:
<<<<<<< HEAD
app: afp-prods app: afp-prods
template: template:
metadata: metadata:
...@@ -21,7 +20,7 @@ spec: ...@@ -21,7 +20,7 @@ spec:
- containerPort: 8083 - containerPort: 8083
env: env:
- name: PORT - name: PORT
value: "8083" value: "8080"
- name: MONGOCONNECTION - name: MONGOCONNECTION
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
...@@ -38,6 +37,6 @@ spec: ...@@ -38,6 +37,6 @@ spec:
type: LoadBalancer type: LoadBalancer
ports: ports:
- port: 8083 - port: 8083
targetPort: 8083 targetPort: 8080
selector: selector:
app: afp-prods app: afp-prods
server.port=8083 server.port=8080
spring.data.mongodb.uri=${MONGOCONNECTION} spring.data.mongodb.uri=${MONGOCONNECTION}
spring.data.mongodb.database=afp-db spring.data.mongodb.database=afp-db
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment