Skip to content

Commit c3985f1

Browse files
committed
Add copilot generated explanation for infra
1 parent a281356 commit c3985f1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

ocpp-server/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,22 @@ The project is divided into two main parts:
4040

4141
All these parts are managed by a Makefile that orchestrates the deployment and the compilation of the OCPP server.
4242

43+
### Infra
44+
45+
The [main.bicep](./infra/main.bicep) file orchestrates the deployment of several resources for an OCPP server infrastructure. Here is a summary of what each module deploys:
46+
47+
* [NAT Gateway](./infra/modules/natgw.bicep): Deploys a NAT Gateway if useNATGateway is set to true.
48+
* [Virtual Network](./infra/modules/virtualNetwork.bicep): Creates a virtual network with three subnets (default, gateway, and private endpoints).
49+
* [Web PubSub Service](./infra/modules/webPubSub.bicep): Deploys a Web PubSub service.
50+
* [Private Endpoint for Web PubSub](./infra/modules/privateEndpoint.bicep): Creates a private endpoint for the Web PubSub service.
51+
* [Web PubSub Hub](./infra/modules/webPubSubHub.bicep): Creates the Web PubSub Hub.
52+
* [Web App Service](./infra/modules/webapp.bicep): Deploys the web app service.
53+
* [Custom Web Domain](./infra/modules/customWebName.bicep): Assigns a custom domain to the web app.
54+
* [Private Endpoint for Web App](./infra/modules/privateEndpoint.bicep): Creates a private endpoint for the web app.
55+
* [Private Endpoint for Storage](./infra/modules/privateEndpoint.bicep): Creates a private endpoint for the web app's storage account.
56+
* [Application Gateway](./infra/modules/appgw.bicep): Creates an Application Gateway to serve the web app and Web PubSub service endpoints.
57+
* [DNS Records](./infra/modules/dns.bicep): Updates the DNS A records with the Application Gateway's public IP for both the Web PubSub and the web app.
58+
4359
## How to deploy this project into Azure
4460

4561
You can run the `deploy` *make* recipe with the following optional parameters:

0 commit comments

Comments
 (0)