Commit 92d68365 authored by earndt's avatar earndt

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

parent 9dfb31d6
......@@ -14,10 +14,13 @@ spec:
spec:
containers:
- 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
ports:
- containerPort: 8087
env:
- name: ORDER_MANAGEMENT_BACKEND_URI
value: "10.0.246.138:8086"
imagePullSecrets:
- name: registry-creds
......
......@@ -2,7 +2,8 @@ import { Manager } from 'Manager'
import { tokenStorage } from 'utils'
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`
......
......@@ -3,7 +3,8 @@ import { OrdersRequestBody } from 'ManagerRequests'
import Axios, { AxiosError } from 'axios'
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`
......
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