Commit 92d68365 authored by earndt's avatar earndt

[AFP-Inf] 👷 Changes deployment.yaml, services for deployment [@earndt]

parent 9dfb31d6
...@@ -14,10 +14,13 @@ spec: ...@@ -14,10 +14,13 @@ spec:
spec: spec:
containers: containers:
- name: afp-order-management-react-container - name: afp-order-management-react-container
image: nexus.mynisum.com/afp-order-management-react:7 image: nexus.mynisum.com/afp-order-management-react:8
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 8087 - containerPort: 8087
env:
- name: ORDER_MANAGEMENT_BACKEND_URI
value: "10.0.246.138:8086"
imagePullSecrets: imagePullSecrets:
- name: registry-creds - name: registry-creds
......
...@@ -2,7 +2,8 @@ import { Manager } from 'Manager' ...@@ -2,7 +2,8 @@ import { Manager } from 'Manager'
import { tokenStorage } from 'utils' import { tokenStorage } from 'utils'
import Axios, { AxiosError } from 'axios' import Axios, { AxiosError } from 'axios'
const URL = (process.env.REACT_APP_BACKEND_URL as string) // const URL = (process.env.REACT_APP_BACKEND_URL as string)
const URL = process.env.ORDER_MANAGEMENT_BACKEND_URI
const BASE_PATH = `${URL}/api/managers` const BASE_PATH = `${URL}/api/managers`
......
...@@ -3,7 +3,8 @@ import { OrdersRequestBody } from 'ManagerRequests' ...@@ -3,7 +3,8 @@ import { OrdersRequestBody } from 'ManagerRequests'
import Axios, { AxiosError } from 'axios' import Axios, { AxiosError } from 'axios'
import { sleep } from 'utils' import { sleep } from 'utils'
const URL = (process.env.REACT_APP_BACKEND_URL as string) // const URL = (process.env.REACT_APP_BACKEND_URL as string)
const URL = process.env.ORDER_MANAGEMENT_BACKEND_URI
const BASE_PATH = `${URL}/api/orders` const BASE_PATH = `${URL}/api/orders`
......
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