Skip to content

Commit

Permalink
ajustes na versão e alteração de porta
Browse files Browse the repository at this point in the history
  • Loading branch information
JailtonJunior94 committed Oct 21, 2023
1 parent 39e789f commit 5a89a57
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DEVELOPMENT_MODE=true
HTTP_SERVER_PORT=8000
HTTP_SERVER_PORT=3000
HTTP_CLIENT_TIMEOUT_MS=60000
CORREIOS_BASE_URL=https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl
VIACEP_BASE_URL=https://viacep.com.br/ws/%s/json/
8 changes: 4 additions & 4 deletions deployment/address-api/values.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
application:
replicas: 3
replicas: 1
image:
name: "jailtonjunior/address-api"
tag: "v1"
tag: "v2"
configMap:
server:
port: "8000"
port: "3000"
httpTimeout: 60000
correiosBaseURL: https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl
viaCepBaseURL: https://viacep.com.br/ws/%s/json/
service:
type: LoadBalancer
type: NodePort
ingress:
enable: false
4 changes: 2 additions & 2 deletions deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ services:
context: ..
dockerfile: deployment/Dockerfile
ports:
- "8000:8000"
- "3000:3000"
environment:
HTTP_SERVER_PORT: "8000"
HTTP_SERVER_PORT: "3000"
HTTP_CLIENT_TIMEOUT_MS: 60000
CORREIOS_BASE_URL: https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl
VIACEP_BASE_URL: https://viacep.com.br/ws/%s/json/

0 comments on commit 5a89a57

Please sign in to comment.