Skip to content

Commit

Permalink
docs: Added explanations on Zipkin env vars descriptions and links
Browse files Browse the repository at this point in the history
  • Loading branch information
tazarov committed Apr 17, 2024
1 parent 2163d39 commit 2333793
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions examples/observability/docker-compose.local-observability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ networks:
net:

services:
# https://github.com/openzipkin/zipkin/blob/master/zipkin-server/README.md#configuration
# https://github.com/openzipkin/zipkin/blob/master/docker/README.md
zipkin:
image: openzipkin/zipkin:latest
environment:
- STORAGE_TYPE=mysql
- MYSQL_HOST=zipkin-storage
- MYSQL_USER=zipkin
- MYSQL_PASS=zipkin
- JAVA_OPTS=-Xms1g -Xmx1g -XX:+ExitOnOutOfMemoryError
- STORAGE_TYPE=mysql # type of storage engine/DB to use
- MYSQL_HOST=zipkin-storage # hostname of the MySQL server
- MYSQL_USER=zipkin # username to use when connecting to MySQL (this is the default)
- MYSQL_PASS=zipkin # password to use when connecting to MySQL (this is the default)
- JAVA_OPTS=-Xms1g -Xmx1g -XX:+ExitOnOutOfMemoryError # configure the JVM min and max heap size to be 1GB as well as tell the JVM to exit if an OutOfMemoryError is encountered
ports:
- "9411:9411"
restart: unless-stopped
Expand Down

0 comments on commit 2333793

Please sign in to comment.