feat: block cwmp access in frontend + add cwmp profile to compose
This commit is contained in:
parent
9fef8849a1
commit
5322519a1e
|
|
@ -71,7 +71,7 @@ This repository aims to promote the development of a multi-vendor management pla
|
||||||
Run app using <u><b>Docker Compose</b></u>:
|
Run app using <u><b>Docker Compose</b></u>:
|
||||||
<pre>
|
<pre>
|
||||||
user@user-laptop:~$ cd oktopus/deploy/compose
|
user@user-laptop:~$ cd oktopus/deploy/compose
|
||||||
user@user-laptop:~/oktopus/deploy/compose$ COMPOSE_PROFILES=nats,controller,mqtt,stomp,ws,adapter,frontend,portainer docker compose up -d
|
user@user-laptop:~/oktopus/deploy/compose$ COMPOSE_PROFILES=nats,controller,cwmp,mqtt,stomp,ws,adapter,frontend,portainer docker compose up -d
|
||||||
</pre>
|
</pre>
|
||||||
Oktopus deployment in <u><b>Kubernetes</b></u> still is in beta phase: <a href="https://github.com/OktopUSP/oktopus/blob/main/deploy/kubernetes/README.md"> Instructions for Kubernetes deployment</a><p></p>
|
Oktopus deployment in <u><b>Kubernetes</b></u> still is in beta phase: <a href="https://github.com/OktopUSP/oktopus/blob/main/deploy/kubernetes/README.md"> Instructions for Kubernetes deployment</a><p></p>
|
||||||
UI will open at port 3000:
|
UI will open at port 3000:
|
||||||
|
|
|
||||||
|
|
@ -186,6 +186,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
usp_network:
|
usp_network:
|
||||||
ipv4_address: 172.16.235.16
|
ipv4_address: 172.16.235.16
|
||||||
|
profiles: [cwmp]
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
usp_network:
|
usp_network:
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ export const OverviewLatestOrders = (props) => {
|
||||||
</SeverityPill>
|
</SeverityPill>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
<SvgIcon
|
{ order.Status == 2 && (order.Mqtt == 0 && order.Websockets == 0 && order.Stomp == 0) ? <span></span>: <SvgIcon
|
||||||
fontSize="small"
|
fontSize="small"
|
||||||
sx={{cursor: order.Status == 2 && 'pointer'}}
|
sx={{cursor: order.Status == 2 && 'pointer'}}
|
||||||
onClick={()=>{
|
onClick={()=>{
|
||||||
|
|
@ -108,7 +108,7 @@ export const OverviewLatestOrders = (props) => {
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<ArrowTopRightOnSquareIcon />
|
<ArrowTopRightOnSquareIcon />
|
||||||
</SvgIcon>
|
</SvgIcon>}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user