Commit b65c6aa6 authored by Ben Anderson's avatar Ben Anderson

Updated deployment file and properties

parent 38ad00a8
...@@ -14,7 +14,7 @@ spec: ...@@ -14,7 +14,7 @@ spec:
spec: spec:
containers: containers:
- name: afp-promotions-container - name: afp-promotions-container
image: nexus.mynisum.com/afp-promotions:latest image: nexus.mynisum.com/afp-promotions:1
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 8082 - containerPort: 8082
......
...@@ -9,7 +9,6 @@ import org.springframework.web.server.ServerWebExchange; ...@@ -9,7 +9,6 @@ import org.springframework.web.server.ServerWebExchange;
import org.springframework.web.server.WebExceptionHandler; import org.springframework.web.server.WebExceptionHandler;
import reactor.core.publisher.Flux; import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono; import reactor.core.publisher.Mono;
import springfox.documentation.spring.web.json.Json;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
......
server.port=8081 server.port=8081
spring.data.mongodb.uri=mongodb+srv://admin:${db.password}@inventory-promotions.d4nfz.mongodb\ spring.data.mongodb.uri=${MONGOCONNECTION}
.net/${spring.data.mongodb.database}?retryWrites=true&w=majority
spring.data.mongodb.database=products-promotions-DB spring.data.mongodb.database=products-promotions-DB
\ No newline at end of file
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