This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-samples.git
The following commit(s) were added to refs/heads/main by this push:
new 92648f0 update docker-compose commands (#116)
92648f0 is described below
commit 92648f0c3330d4a25cb156044efa9e5c2229df24
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Aug 8 12:03:25 2024 +0100
update docker-compose commands (#116)
---
pekko-sample-cluster-docker-compose-java/README.md | 4 ++--
pekko-sample-cluster-docker-compose-java/docker-compose.yml | 1 -
pekko-sample-cluster-docker-compose-java/scripts/test.sh | 4 ++--
pekko-sample-cluster-docker-compose-scala/README.md | 4 ++--
pekko-sample-cluster-docker-compose-scala/docker-compose.yml | 1 -
pekko-sample-cluster-docker-compose-scala/scripts/test.sh | 4 ++--
6 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/pekko-sample-cluster-docker-compose-java/README.md
b/pekko-sample-cluster-docker-compose-java/README.md
index e0395fc..d767ca6 100644
--- a/pekko-sample-cluster-docker-compose-java/README.md
+++ b/pekko-sample-cluster-docker-compose-java/README.md
@@ -8,6 +8,6 @@ This sample is based on
[akka-sample-cluster-docker-compose-java](https://github
In SBT, just run `docker:publishLocal` to create a local docker container.
-To run the cluster, run `docker-compose up`. This will create 3 nodes, a seed
and two regular members, called `seed`, `c1`, and `c2` respectively.
+To run the cluster, run `docker compose up`. This will create 3 nodes, a seed
and two regular members, called `seed`, `c1`, and `c2` respectively.
-While running, try opening a new terminal and (from the same directory) try
things like `docker-compose down seed` and watch the cluster nodes respond.
+While running, try opening a new terminal and (from the same directory) try
things like `docker compose down seed` and watch the cluster nodes respond.
diff --git a/pekko-sample-cluster-docker-compose-java/docker-compose.yml
b/pekko-sample-cluster-docker-compose-java/docker-compose.yml
index af509bb..74d66b5 100644
--- a/pekko-sample-cluster-docker-compose-java/docker-compose.yml
+++ b/pekko-sample-cluster-docker-compose-java/docker-compose.yml
@@ -1,4 +1,3 @@
-version: '2'
services:
seed:
container_name: pekko-sample-cluster-docker-compose-java_seed_1
diff --git a/pekko-sample-cluster-docker-compose-java/scripts/test.sh
b/pekko-sample-cluster-docker-compose-java/scripts/test.sh
index 1b0f772..9738086 100755
--- a/pekko-sample-cluster-docker-compose-java/scripts/test.sh
+++ b/pekko-sample-cluster-docker-compose-java/scripts/test.sh
@@ -4,12 +4,12 @@ set -x
clean_up () {
echo "cleaning up test docker containers"
- docker-compose down
+ docker compose down
}
sbt docker:publishLocal
-docker-compose up -d
+docker compose up -d
docker logs pekko-sample-cluster-docker-compose-java_seed_1
diff --git a/pekko-sample-cluster-docker-compose-scala/README.md
b/pekko-sample-cluster-docker-compose-scala/README.md
index d5bbd71..7e3c875 100644
--- a/pekko-sample-cluster-docker-compose-scala/README.md
+++ b/pekko-sample-cluster-docker-compose-scala/README.md
@@ -8,6 +8,6 @@ This sample is based on
[akka-sample-cluster-docker-compose-scala](https://githu
In SBT, just run `docker:publishLocal` to create a local docker container.
-To run the cluster, run `docker-compose up`. This will create 3 nodes, a seed
and two regular members, called `seed`, `c1`, and `c2` respectively.
+To run the cluster, run `docker compose up`. This will create 3 nodes, a seed
and two regular members, called `seed`, `c1`, and `c2` respectively.
-While running, try opening a new terminal and (from the same directory) try
things like `docker-compose stop seed` and watch the cluster nodes respond.
+While running, try opening a new terminal and (from the same directory) try
things like `docker compose stop seed` and watch the cluster nodes respond.
diff --git a/pekko-sample-cluster-docker-compose-scala/docker-compose.yml
b/pekko-sample-cluster-docker-compose-scala/docker-compose.yml
index 296d2e6..ebcde58 100644
--- a/pekko-sample-cluster-docker-compose-scala/docker-compose.yml
+++ b/pekko-sample-cluster-docker-compose-scala/docker-compose.yml
@@ -1,4 +1,3 @@
-version: '2'
services:
seed:
container_name: pekko-sample-cluster-docker-compose-scala_seed_1
diff --git a/pekko-sample-cluster-docker-compose-scala/scripts/test.sh
b/pekko-sample-cluster-docker-compose-scala/scripts/test.sh
index 6eed677..0ce1dde 100755
--- a/pekko-sample-cluster-docker-compose-scala/scripts/test.sh
+++ b/pekko-sample-cluster-docker-compose-scala/scripts/test.sh
@@ -4,12 +4,12 @@ set -x
clean_up () {
echo "cleaning up test docker containers"
- docker-compose down
+ docker compose down
}
sbt docker:publishLocal
-docker-compose up -d
+docker compose up -d
docker logs pekko-sample-cluster-docker-compose-scala_seed_1
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]