3. Open and modify docker-compose.yml. You will need to bind a new volume to the Docker container so that Kestrel can access the certificate file, additionally check the port bindings to ensure that traffic is being forwarded to port 443
+
3. Open and modify docker-compose.yml. You will need to bind a new volume to the Docker container so that Kestrel can access the certificate file.
```
volumes:
- ~/https/:/https:ro
```
-
4. Run `docker-compose up -d` to start up the container and `https://localhost` will now have a valid cert.
+
4. additionally check the port bindings to ensure that traffic is being forwarded to port 443
+
```
+
ports:
+
- 443:443
+
```
+
5. Run `docker-compose up -d` to start up the container and `https://localhost` will now have a valid cert.
## Windows
If you're running LubeLogger as the standalone Windows executable, first read [this article by Microsoft](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-8.0#configure-https-in-appsettingsjson)