Update README

This commit is contained in:
Jeff Leung 2024-01-14 00:08:14 -08:00
parent 9dfbded5b8
commit 690a117ffd
1 changed files with 10 additions and 1 deletions

View File

@ -66,7 +66,8 @@ To build and run the application, follow these steps:
4. Run the command `dotnet build` to build the application. This will compile the source code and prepare it for execution.
5. After a successful build, you can start the application by running `dotnet run`.
6. The application will start, and you can access the endpoints as specified.
### Building a Docker Image for the MVC Version
## Building a Docker Image
### Building a Docker Image for the Minimal API Version
@ -88,6 +89,14 @@ To containerize the `AS1024.GeoFeed.MinimalAPI` version using Docker, you can fo
Ensure you have Docker installed and configured on your machine before executing this command. This Docker image can then be used to deploy the application in containerized environments such as Kubernetes or Docker Compose setups.
## Docker Deployment
To deploy the Docker container of this GeoFeed application, simply pull the image for the following variants:
- MVC Variant ``docker pull git.startmywifi.com/as1024/geofeed:latest``
- Minimal API Variant ``docker pull git.startmywifi.com/as1024/geofeed:aot-minimal``
To configure the container, please refer to the Configuration section above. You should be able to configure this with either an environment variable or map an ``appSettings.json`` file to the container.
## Endpoints