Skip to content

Commit

Permalink
Merge pull request #29 from tmeire/tmeire-patch-1
Browse files Browse the repository at this point in the history
Add link to the Dockerfile breakdown post to the README.md
  • Loading branch information
tmeire authored Oct 1, 2024
2 parents ebefb43 + 81973c8 commit 44d82b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ While the app can be build and run with plain Go commands, it's intended to be b

* Production: this layer builds off of the distroless image. It sets up the binary and opens up the required ports in the image.

If you want a more in-depth explanation of why the Dockerfile looks the way it does, I wrote a whole blog post about it: https://www.digitalpowertools.com/blog/go-build-it.html

### Docker compose

To allow you to easily run the service locally without having to install a lot of local dependencies, a docker-compose.yaml file is included. This file includes everything to run a minimal stack.
Expand Down Expand Up @@ -85,4 +87,4 @@ The service has tracing set up for the main HTTP mux. All endpoints registered o
defer span.End()
```

The open telemetry traces are exported to stdout by default. If the Open Telemetry environment variable `OTEL_EXPORTER_OTLP_ENDPOINT` has been configured, a grpc-based OTLP exporter will be set up.
The open telemetry traces are exported to stdout by default. If the Open Telemetry environment variable `OTEL_EXPORTER_OTLP_ENDPOINT` has been configured, a grpc-based OTLP exporter will be set up.

0 comments on commit 44d82b9

Please sign in to comment.