Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/feature/search/fts/analyzer.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ s(900516492,3,'Bill',n,1,0).
docker run --rm -it --name=cratedb --publish=4200:4200 --env=CRATE_HEAP_SIZE=1g \
--volume="$PWD/synonyms-solr.txt:/crate/config/synonyms-solr.txt" \
--volume="$PWD/synonyms-wordnet.txt:/crate/config/synonyms-wordnet.txt" \
crate
crate -Cdiscovery.type=single-node
```

This example uses the `synonyms-solr.txt` in Solr format.
Expand Down
2 changes: 1 addition & 1 deletion docs/integrate/airflow/import-stock-market-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Set up on macOS. Ensure Homebrew is installed and Docker Desktop is running.

First, run CrateDB with Docker. With Docker Desktop running, copy the command from the CrateDB installation page and run it:
```bash
docker run --publish=4200:4200 --publish=5432:5432 --env CRATE_HEAP_SIZE=1g crate:latest
docker run --publish=4200:4200 --publish=5432:5432 --env CRATE_HEAP_SIZE=1g crate:latest -Cdiscovery.type=single-node
```

With CrateDB running, you can now access the CrateDB Admin UI by going to
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/amqp/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/collectd/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down
2 changes: 1 addition & 1 deletion docs/integrate/debezium/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ We will need a CrateDB instance, for the purpose of this example we can spin one

```bash
sudo apt install docker.io
sudo docker run --publish 4200:4200 --publish 5432:5432 --env CRATE_HEAP_SIZE=1g crate:latest
sudo docker run --publish 4200:4200 --publish 5432:5432 --env CRATE_HEAP_SIZE=1g crate:latest -Cdiscovery.type=single-node
```

Now we need to run a couple of SQL commands on this instance, an easy way to do this is using the Admin UI that can be accessed navigating with a web browser to port 4200 on the server where CrateDB is running, for instance `http://localhost:4200` and then open the console (second icon from the top on the left-hand side navigation bar).
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/influxdb/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down
2 changes: 1 addition & 1 deletion docs/integrate/marquez/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ astro dev start
And we will start a single-node local CrateDB instance using port 5436 for the PostgreSQL wire protocol interface:

```bash
sudo docker run -d --name cratedb --publish=4200:4200 --publish=5436:5432 --env CRATE_HEAP_SIZE=1g crate/crate:5.9.5
sudo docker run -d --name cratedb --publish=4200:4200 --publish=5436:5432 --env CRATE_HEAP_SIZE=1g crate/crate:5.9.5 -Cdiscovery.type=single-node
```

(NB this will return immediately once the image is downloaded but CrateDB may take a few seconds to start)
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/mongodb/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/mqtt/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/mysql/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/opentelemetry/collector/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/opentelemetry/telegraf/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/oracle/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/postgresql/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/prometheus/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ You will create these files in the following steps.
services:
cratedb:
image: "docker.io/crate:latest"
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200"
- "5432:5432"
Expand Down
2 changes: 1 addition & 1 deletion docs/integrate/risingwave/apache-iceberg.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ podman run -d --name risingwave -it -p 4566:4566 -p 5691:5691 docker.io/risingwa
And finally, an instance of CrateDB:

```bash
podman run -d --name cratedb --publish=4200:4200 --publish=5432:5432 --env CRATE_HEAP_SIZE=1g docker.io/crate/crate:5.10.7
podman run -d --name cratedb --publish=4200:4200 --publish=5432:5432 --env CRATE_HEAP_SIZE=1g docker.io/crate/crate:5.10.7 -Cdiscovery.type=single-node
```

We will need three terminals for this demonstration.
Expand Down
2 changes: 1 addition & 1 deletion docs/integrate/rsyslog/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ setup.
First, start CrateDB. For production, use a dedicated cluster. For this demo, run a single‑node container:

```bash
sudo docker run -d --name cratedb -p 4200:4200 -p 5432:5432 -e CRATE_HEAP_SIZE=1g crate:latest
sudo docker run -d --name cratedb -p 4200:4200 -p 5432:5432 -e CRATE_HEAP_SIZE=1g crate:latest -Cdiscovery.type=single-node
```

Next, create a table for logs. Open `http://localhost:4200/#!/console` or invoke `crash` and run:
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/statsd/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down
2 changes: 1 addition & 1 deletion docs/integrate/superset/sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ You will need Bash, Docker, Git, and Python to be installed on your workstation.

Start CrateDB using Docker.
```shell
docker run --rm --publish=4200:4200 --publish=5432:5432 --name=cratedb --env CRATE_HEAP_SIZE=1g crate:latest
docker run --rm --publish=4200:4200 --publish=5432:5432 --name=cratedb --env CRATE_HEAP_SIZE=1g crate:latest -Cdiscovery.type=single-node
```

Create an example table and insert a single record.
Expand Down
2 changes: 1 addition & 1 deletion docs/integrate/superset/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ docker run --interactive --rm --pull=always \
--publish=4200:4200 --publish=5432:5432 \
--name=cratedb \
--env CRATE_HEAP_SIZE=1g \
crate:latest
crate:latest -Cdiscovery.type=single-node
```

Run Superset server.
Expand Down
2 changes: 2 additions & 0 deletions docs/integrate/telegraf/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:

cratedb:
image: docker.io/crate/crate:latest
command: >
crate -Cdiscovery.type=single-node
ports:
- "4200:4200/tcp"
- "5432:5432/tcp"
Expand Down