Skip to content

Commit

Permalink
add break line in the command
Browse files Browse the repository at this point in the history
  • Loading branch information
helloshisheng committed Apr 18, 2024
1 parent 56c6613 commit 1c88ff1
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 4 deletions.
11 changes: 10 additions & 1 deletion docs/deploy-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,14 @@ docker run -d -e clusterName=cluster-a \
Create a broker container and start the broker service.

```bash
docker run -d -p 6650:6650 -p 8080:8080 --net=pulsar -e metadataStoreUrl=zk:zookeeper:2181 -e zookeeperServers=zookeeper:2181 -e clusterName=cluster-a -e managedLedgerDefaultEnsembleSize=1 -e managedLedgerDefaultWriteQuorum=1 -e managedLedgerDefaultAckQuorum=1 --name broker --hostname broker apachepulsar/pulsar-all:latest bash -c "bin/apply-config-from-env.py conf/broker.conf && exec bin/pulsar broker"
docker run -d -p 6650:6650 -p 8080:8080 --net=pulsar \
-e metadataStoreUrl=zk:zookeeper:2181 \
-e zookeeperServers=zookeeper:2181 \
-e clusterName=cluster-a \
-e managedLedgerDefaultEnsembleSize=1 \
-e managedLedgerDefaultWriteQuorum=1 \
-e managedLedgerDefaultAckQuorum=1 \
--name broker --hostname broker \
apachepulsar/pulsar-all:latest \
bash -c "bin/apply-config-from-env.py conf/broker.conf && exec bin/pulsar broker"
```
11 changes: 10 additions & 1 deletion versioned_docs/version-3.0.x/deploy-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,14 @@ docker run -d -e clusterName=cluster-a \
Create a broker container and start the broker service.

```bash
docker run -d -p 6650:6650 -p 8080:8080 --net=pulsar -e metadataStoreUrl=zk:zookeeper:2181 -e zookeeperServers=zookeeper:2181 -e clusterName=cluster-a -e managedLedgerDefaultEnsembleSize=1 -e managedLedgerDefaultWriteQuorum=1 -e managedLedgerDefaultAckQuorum=1 --name broker --hostname broker apachepulsar/pulsar-all:latest bash -c "bin/apply-config-from-env.py conf/broker.conf && exec bin/pulsar broker"
docker run -d -p 6650:6650 -p 8080:8080 --net=pulsar \
-e metadataStoreUrl=zk:zookeeper:2181 \
-e zookeeperServers=zookeeper:2181 \
-e clusterName=cluster-a \
-e managedLedgerDefaultEnsembleSize=1 \
-e managedLedgerDefaultWriteQuorum=1 \
-e managedLedgerDefaultAckQuorum=1 \
--name broker --hostname broker \
apachepulsar/pulsar-all:latest \
bash -c "bin/apply-config-from-env.py conf/broker.conf && exec bin/pulsar broker"
```
11 changes: 10 additions & 1 deletion versioned_docs/version-3.1.x/deploy-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,14 @@ docker run -d -e clusterName=cluster-a \
Create a broker container and start the broker service.

```bash
docker run -d -p 6650:6650 -p 8080:8080 --net=pulsar -e metadataStoreUrl=zk:zookeeper:2181 -e zookeeperServers=zookeeper:2181 -e clusterName=cluster-a -e managedLedgerDefaultEnsembleSize=1 -e managedLedgerDefaultWriteQuorum=1 -e managedLedgerDefaultAckQuorum=1 --name broker --hostname broker apachepulsar/pulsar-all:latest bash -c "bin/apply-config-from-env.py conf/broker.conf && exec bin/pulsar broker"
docker run -d -p 6650:6650 -p 8080:8080 --net=pulsar \
-e metadataStoreUrl=zk:zookeeper:2181 \
-e zookeeperServers=zookeeper:2181 \
-e clusterName=cluster-a \
-e managedLedgerDefaultEnsembleSize=1 \
-e managedLedgerDefaultWriteQuorum=1 \
-e managedLedgerDefaultAckQuorum=1 \
--name broker --hostname broker \
apachepulsar/pulsar-all:latest \
bash -c "bin/apply-config-from-env.py conf/broker.conf && exec bin/pulsar broker"
```
11 changes: 10 additions & 1 deletion versioned_docs/version-3.2.x/deploy-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,14 @@ docker run -d -e clusterName=cluster-a \
Create a broker container and start the broker service.

```bash
docker run -d -p 6650:6650 -p 8080:8080 --net=pulsar -e metadataStoreUrl=zk:zookeeper:2181 -e zookeeperServers=zookeeper:2181 -e clusterName=cluster-a -e managedLedgerDefaultEnsembleSize=1 -e managedLedgerDefaultWriteQuorum=1 -e managedLedgerDefaultAckQuorum=1 --name broker --hostname broker apachepulsar/pulsar-all:latest bash -c "bin/apply-config-from-env.py conf/broker.conf && exec bin/pulsar broker"
docker run -d -p 6650:6650 -p 8080:8080 --net=pulsar \
-e metadataStoreUrl=zk:zookeeper:2181 \
-e zookeeperServers=zookeeper:2181 \
-e clusterName=cluster-a \
-e managedLedgerDefaultEnsembleSize=1 \
-e managedLedgerDefaultWriteQuorum=1 \
-e managedLedgerDefaultAckQuorum=1 \
--name broker --hostname broker \
apachepulsar/pulsar-all:latest \
bash -c "bin/apply-config-from-env.py conf/broker.conf && exec bin/pulsar broker"
```

0 comments on commit 1c88ff1

Please sign in to comment.