Skip to content

Commit 235dbe6

Browse files
author
quarkusbot
committed
Sync web site with Quarkus documentation
1 parent cbf3ce5 commit 235dbe6

File tree

6 files changed

+107
-2
lines changed

6 files changed

+107
-2
lines changed

_guides/_attributes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Common attributes.
22
// --> No blank lines (it ends the document header)
33
:project-name: Quarkus
4-
:quarkus-version: 3.24.2
4+
:quarkus-version: 3.24.3
55
:quarkus-platform-groupid: io.quarkus.platform
66
// .
77
:maven-version: 3.9.9
@@ -19,7 +19,7 @@
1919
:logstash-image: docker.io/elastic/logstash:9.0.2
2020
:kibana-image: docker.io/elastic/kibana:9.0.2
2121
:keycloak-docker-image: quay.io/keycloak/keycloak:26.2.4
22-
:jandex-version: 3.3.1
22+
:jandex-version: 3.3.2
2323
:jandex-gradle-plugin-version: 1.0.0
2424
:kotlin-version: 2.1.21
2525
:grpc-version: 1.69.1

_guides/apicurio-registry-dev-services.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,19 @@ You can select any 2.x version from https://hub.docker.com/r/apicurio/apicurio-r
7979
----
8080
quarkus.apicurio-registry.devservices.image-name=apicurio/apicurio-registry-mem:latest-snapshot
8181
----
82+
83+
[[Compose]]
84+
== Compose
85+
86+
The Apicurio Dev Services supports xref:compose-dev-services.adoc[Compose Dev Services].
87+
It relies on a `compose-devservices.yml`, such as:
88+
89+
[source,yaml]
90+
----
91+
name: <application name>
92+
services:
93+
apicurio:
94+
image: apicurio/apicurio-registry-mem:2.4.2.Final
95+
ports:
96+
- "8080"
97+
----

_guides/compose-dev-services.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ In the example above:
558558
The mapped properties will contain the host port that is mapped to the container port,
559559
which may be different from the container port if you're using dynamic port mapping (e.g., `- '5432'` instead of `- '7432:5432'`).
560560

561+
[[exposing-port-mappings-to-running-containers]]
561562
==== Exposing port mappings to running containers
562563

563564
In some cases, containers need to know the host ports they're mapped to at runtime.

_guides/databases-dev-services.adoc

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,43 @@ In the labels tab, we see that Quarkus added the datasource label, which can be
294294
Dev Services have been started.
295295
====
296296

297+
[[Compose]]
298+
== Compose
299+
300+
The Database Dev Services supports xref:compose-dev-services.adoc[Compose Dev Services].
301+
It relies on a `compose-devservices.yml`, such as:
302+
303+
[source,yaml]
304+
----
305+
name: <application name>
306+
services:
307+
postgresql:
308+
image: docker.io/postgres:17
309+
ports:
310+
- "5432"
311+
environment:
312+
POSTGRES_USER: quarkus
313+
POSTGRES_PASSWORD: quarkus
314+
POSTGRES_DB: quarkus
315+
oracle:
316+
image: docker.io/gvenzl/oracle-free:23-slim-faststart
317+
ports:
318+
- "1521"
319+
environment:
320+
ORACLE_PASSWORD: quarkus
321+
ORACLE_DATABASE: quarkus
322+
APP_USER: quarkus
323+
APP_USER_PASSWORD: quarkus
324+
mssql:
325+
image: mcr.microsoft.com/mssql/server:2022-latest
326+
ports:
327+
- "1433"
328+
environment:
329+
ACCEPT_EULA: "Y"
330+
MSSQL_SA_PASSWORD: Quarkus123
331+
labels:
332+
io.quarkus.devservices.compose.jdbc.parameters: trustServerCertificate=true
333+
----
297334

298335
[[configuration-reference]]
299336
== Configuration Reference

_guides/kafka-dev-services.adoc

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,41 @@ quarkus.kafka.devservices.redpanda.transaction-enabled=false
116116

117117
NOTE: Redpanda transactions does not support exactly-once processing.
118118

119+
[[Compose]]
120+
== Compose
121+
122+
The Kafka Dev Services supports xref:compose-dev-services.adoc[Compose Dev Services].
123+
It relies on a `compose-devservices.yml`, such as:
124+
125+
[source,yaml]
126+
----
127+
name: <application name>
128+
services:
129+
kafka:
130+
image: apache/kafka-native:3.9.0
131+
restart: "no"
132+
ports:
133+
- '9092'
134+
labels:
135+
io.quarkus.devservices.compose.exposed_ports: /etc/kafka/docker/ports
136+
environment:
137+
KAFKA_NODE_ID: 1
138+
KAFKA_PROCESS_ROLES: broker,controller
139+
KAFKA_LISTENERS: PLAINTEXT://:9092,CONTROLLER://:9093
140+
KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER
141+
KAFKA_CONTROLLER_QUORUM_VOTERS: 1@localhost:9093
142+
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
143+
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
144+
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
145+
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
146+
KAFKA_NUM_PARTITIONS: 3
147+
command: "/kafka.sh"
148+
volumes:
149+
- './kafka.sh:/kafka.sh'
150+
----
151+
152+
For the broker to advertise its externally accessible address to clients, it requires an additional file `kafka.sh` as described in xref:compose-dev-services.adoc#exposing-port-mappings-to-running-containers[Exposing port mappings to running containers].
153+
119154
[[configuration-reference-devservices]]
120155
== Configuration reference
121156

_guides/mongodb-dev-services.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@ The default service name is `mongodb`.
2929
Sharing is enabled by default in dev mode, but disabled in test mode.
3030
You can disable the sharing with `quarkus.mongodb.devservices.shared=false`.
3131

32+
[[Compose]]
33+
== Compose
34+
35+
The MongoDB Dev Services supports xref:compose-dev-services.adoc[Compose Dev Services].
36+
It relies on a `compose-devservices.yml`, such as:
37+
38+
[source,yaml]
39+
----
40+
name: <application name>
41+
services:
42+
mongo:
43+
image: docker.io/mongo:7.0
44+
ports:
45+
- "27017"
46+
----
47+
3248
== Configuration reference
3349

3450
include::{generated-dir}/config/quarkus-mongodb-client_quarkus.mongodb.devservices.adoc[opts=optional, leveloffset=+1]

0 commit comments

Comments
 (0)