You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates to latest docker images, aligning maven version (#3775)
This uses latest java images, and aligns with the following tools
provided by them:
* maven:3.9.8
* maven-help-plugin:3.4.1
* maven-dependency-plugin:3.7.1
To align, we run "mvn wrapper:wrapper -Dtype=bin" to update maven and
manually change any pom or script references to share the above plugin
versions.
Besides text replacement for current java versions, this also had to
switch `docker-compose` to `docker compose` as the former is no longer
in the base image.
All test images are updated to latest versions, as well.
This intentionally doesn't touch anything else, except bumping
testcontainers. For example, this doesn't update maven plugins that
aren't cached in the java image.
Signed-off-by: Adrian Cole <[email protected]>
Copy file name to clipboardexpand all lines: docker/examples/README.md
+22-22
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,15 @@
2
2
3
3
This project is configured to run docker containers using
4
4
[docker-compose](https://docs.docker.com/compose/). Note that the default
5
-
configuration requires docker-compose 1.6.0+ and docker-engine 1.10.0+.
5
+
configuration requires dockercompose 1.6.0+ and docker-engine 1.10.0+.
6
6
7
-
To start the default docker-compose configuration, run:
7
+
To start the default dockercompose configuration, run:
8
8
9
9
```bash
10
10
# To use the last released version of zipkin
11
-
$ docker-compose up
11
+
$ dockercompose up
12
12
# To use the last built version of zipkin
13
-
$ TAG=master docker-compose up
13
+
$ TAG=master dockercompose up
14
14
```
15
15
16
16
View the web UI at $(docker ip):9411. Traces are stored in memory.
@@ -26,7 +26,7 @@ own containers.
26
26
27
27
To add ActiveMQ configuration, run:
28
28
```bash
29
-
$ docker-compose -f docker-compose-activemq.yml up
29
+
$ dockercompose -f docker-compose-activemq.yml up
30
30
```
31
31
32
32
Then configure the [ActiveMQ sender](https://github.com/openzipkin/zipkin-reporter-java/blob/master/activemq-client/src/main/java/zipkin2/reporter/activemq/ActiveMQSender.java)
@@ -41,15 +41,15 @@ You can store traces in [Cassandra](../test-images/zipkin-cassandra/README.md) i
41
41
To start the Cassandra-backed configuration, run:
42
42
43
43
```bash
44
-
$ docker-compose -f docker-compose-cassandra.yml up
44
+
$ dockercompose -f docker-compose-cassandra.yml up
45
45
```
46
46
47
47
The `zipkin-dependencies` container is a scheduled task that runs every hour.
48
48
If you want to see the dependency graph before then, you can run it manually
49
49
in another terminal like so:
50
50
51
51
```bash
52
-
$ docker-compose -f docker-compose-cassandra.yml run --rm --no-deps --entrypoint start-zipkin-dependencies dependencies
52
+
$ dockercompose -f docker-compose-cassandra.yml run --rm --no-deps --entrypoint start-zipkin-dependencies dependencies
53
53
```
54
54
55
55
## Elasticsearch
@@ -61,15 +61,15 @@ using the `docker-compose-elasticsearch.yml` file. This configuration starts `zi
61
61
To start the Elasticsearch-backed configuration, run:
62
62
63
63
```bash
64
-
$ docker-compose -f docker-compose-elasticsearch.yml up
64
+
$ dockercompose -f docker-compose-elasticsearch.yml up
65
65
```
66
66
67
67
The `zipkin-dependencies` container is a scheduled task that runs every hour.
68
68
If you want to see the dependency graph before then, you can run it manually
69
69
in another terminal like so:
70
70
71
71
```bash
72
-
$ docker-compose -f docker-compose-elasticsearch.yml run --rm --no-deps --entrypoint start-zipkin-dependencies dependencies
72
+
$ dockercompose -f docker-compose-elasticsearch.yml run --rm --no-deps --entrypoint start-zipkin-dependencies dependencies
73
73
```
74
74
75
75
## Kafka
@@ -80,7 +80,7 @@ own containers.
80
80
81
81
To add Kafka configuration, run:
82
82
```bash
83
-
$ docker-compose -f docker-compose-kafka.yml up
83
+
$ dockercompose -f docker-compose-kafka.yml up
84
84
```
85
85
86
86
Then configure the [Kafka sender](https://github.com/openzipkin/zipkin-reporter-java/blob/master/kafka/src/main/java/zipkin2/reporter/kafka/KafkaSender.java) using a `bootstrapServers` value of `host.docker.internal:9092` if your application is inside the same docker network or `localhost:19092` if not, but running on the same host.
@@ -101,7 +101,7 @@ You can store traces in [MySQL](../test-images/zipkin-mysql/README.md) instead o
101
101
To start the MySQL-backed configuration, run:
102
102
103
103
```bash
104
-
$ docker-compose -f docker-compose-mysql.yml up
104
+
$ dockercompose -f docker-compose-mysql.yml up
105
105
```
106
106
107
107
## RabbitMQ
@@ -112,7 +112,7 @@ own containers.
112
112
113
113
To add RabbitMQ configuration, run:
114
114
```bash
115
-
$ docker-compose -f docker-compose-rabbitmq.yml up
115
+
$ dockercompose -f docker-compose-rabbitmq.yml up
116
116
```
117
117
118
118
Then configure the [RabbitMQ sender](https://github.com/openzipkin/zipkin-reporter-java/blob/master/amqp-client/src/main/java/zipkin2/reporter/amqp/RabbitMQSender.java)
@@ -129,18 +129,18 @@ discover zipkin's endpoint from `eureka` and use it to send spans.
129
129
130
130
To try this out, run:
131
131
```bash
132
-
$ docker-compose -f docker-compose.yml -f docker-compose-eureka.yml up
132
+
$ dockercompose -f docker-compose.yml -f docker-compose-eureka.yml up
133
133
```
134
134
135
135
## Example
136
136
137
-
The docker-compose configuration can be extended to host an [example application](https://github.com/openzipkin/brave-example)
138
-
using the `docker-compose-example.yml` file. That file employs [docker-compose overrides](https://docs.docker.com/compose/extends/#multiple-compose-files)
137
+
The dockercompose configuration can be extended to host an [example application](https://github.com/openzipkin/brave-example)
138
+
using the `docker-compose-example.yml` file. That file employs [dockercompose overrides](https://docs.docker.com/compose/extends/#multiple-compose-files)
139
139
to add a "frontend" and "backend" service.
140
140
141
141
To add the example configuration, run:
142
142
```bash
143
-
$ docker-compose -f docker-compose.yml -f docker-compose-example.yml up
143
+
$ dockercompose -f docker-compose.yml -f docker-compose-example.yml up
144
144
```
145
145
146
146
Once the services start, open http://localhost:8081/
@@ -150,15 +150,15 @@ Afterward, you can view traces that went through the backend via http://localhos
150
150
151
151
## UI
152
152
153
-
The docker-compose configuration can be extended to [host the UI](../test-images/zipkin-ui/README.md) on port 80
153
+
The dockercompose configuration can be extended to [host the UI](../test-images/zipkin-ui/README.md) on port 80
154
154
using the `docker-compose-ui.yml` file. That file employs
0 commit comments