diff --git a/deployment.yaml b/deployment.yaml index b9d8fd97a4307946b566d62452a9f49932251daa..db2452c5823e9077595fc77fc61ffc54be7d81bd 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -14,13 +14,13 @@ spec: spec: containers: - name: afp-promotions-container - image: nexus.mynisum.com/afp-promotions:6 + image: nexus.mynisum.com/afp-promotions:7 imagePullPolicy: Always ports: - containerPort: 8082 env: - name: PORT - value: "8080" + value: "8082" - name: MONGOCONNECTION valueFrom: secretKeyRef: @@ -37,6 +37,6 @@ spec: type: LoadBalancer ports: - port: 8082 - targetPort: 8080 + targetPort: 8082 selector: app: afp-promotions \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index c98df24fe7807d5c4746383f26960c0f80313ebe..be3dfa89a7612d9bef0f845fb47b25ae6375c383 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,4 +1,2 @@ - -server.port=8080 +server.port=8082 spring.data.mongodb.uri=${MONGOCONNECTION} -spring.data.mongodb.database=products-promotions-DB \ No newline at end of file