Skip to content

Commit

Permalink
fix(makefile): use docker compose instead of docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal-Leszczynski committed Apr 3, 2024
1 parent e042a33 commit 4f9a243
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
10 changes: 5 additions & 5 deletions docs/source/docker/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Note that `Scylla Kubernetes Operator <https://github.com/scylladb/scylla-operat

**Prerequisites**

Docker and docker-compose commands installed.
Docker command installed.

**Procedure**

Expand All @@ -34,8 +34,8 @@ Docker and docker-compose commands installed.

.. code-block:: none
docker-compose up --build -d
docker-compose logs -f scylla-manager
docker compose up --build -d
docker compose logs -f scylla-manager
#. Wait until the server is started, you should see something like

Expand All @@ -52,7 +52,7 @@ Docker and docker-compose commands installed.

.. code-block:: none
docker-compose exec scylla-manager bash
docker compose exec scylla-manager bash
#. Add the cluster to Scylla Manager

Expand Down Expand Up @@ -84,7 +84,7 @@ container, run the following:

.. code-block:: none
docker-compose exec minio sh -c "mkdir /data/docker"
docker compose exec minio sh -c "mkdir /data/docker"
Afterwards you can schedule backups in Scylla Manager using "s3:docker" as the
backup location.
2 changes: 1 addition & 1 deletion install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

set -eu -o pipefail

LINUX_PKGS="docker-compose jq make moreutils openssl"
LINUX_PKGS="jq make moreutils openssl"

source ./env
mkdir -p ${LOCAL_BIN}
Expand Down
2 changes: 1 addition & 1 deletion testing/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
all: help

COMPOSE := docker-compose
COMPOSE := docker compose
CQLSH := $(COMPOSE) exec scylla-manager-db cqlsh
CQLSH_NODE := $(COMPOSE) exec -T dc1_node_1 cqlsh
NODETOOL := $(COMPOSE) exec -T dc1_node_1 nodetool
Expand Down
2 changes: 1 addition & 1 deletion testing/corrupt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

set -eu -o pipefail -x

COMPOSE=docker-compose
COMPOSE=docker compose

NODE=
KEYSPACE="test_keyspace_rf3"
Expand Down
2 changes: 0 additions & 2 deletions testing/docker-compose-ipv4.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.7"

services:
dc1_node_1:
command: ${SCYLLA_ARGS} --rpc-address 192.168.100.11 --alternator-address 192.168.200.11 --listen-address 192.168.200.11
Expand Down
2 changes: 0 additions & 2 deletions testing/docker-compose-ipv6.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.7"

services:
dc1_node_1:
command: ${SCYLLA_ARGS} --rpc-address 2001:0DB9:100::11 --alternator-address 2001:0DB9:200::11 --listen-address 2001:0DB9:200::11
Expand Down
2 changes: 0 additions & 2 deletions testing/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.7"

services:
dc1_node_1:
image: scylladb/agent-${SCYLLA_VERSION}
Expand Down

0 comments on commit 4f9a243

Please sign in to comment.