diff --git a/cluster/start.sh b/cluster/start.sh index 0190fd0..2ef5939 100755 --- a/cluster/start.sh +++ b/cluster/start.sh @@ -6,7 +6,7 @@ usage() { echo "Usage: $0 [-n openfire-tag] [-h] "; exit 0; } PROJECT="openfire" -COMPOSE_FILE_COMMAND=("docker-compose") +COMPOSE_FILE_COMMAND=("docker" "compose") COMPOSE_FILE_COMMAND+=("--env-file" "../_common/.env") COMPOSE_FILE_COMMAND+=("--project-name" "$PROJECT") diff --git a/federation/README.md b/federation/README.md index c2af085..e2788a1 100644 --- a/federation/README.md +++ b/federation/README.md @@ -138,7 +138,7 @@ networks: - subnet: 172.50.0.0/24 ``` -Run this with `docker-compose up`. Once running navigate to `http://localhost:9093` and manually configure the Openfire server. +Run this with the `start.sh`. Once running navigate to `http://localhost:9093` and manually configure the Openfire server. The database hostname should be the name of the DB node in the compose file (so `db3` in this case). You should also get the database name, username, and password, from the compose file. diff --git a/federation/start.sh b/federation/start.sh index 979650d..676e97d 100755 --- a/federation/start.sh +++ b/federation/start.sh @@ -6,7 +6,7 @@ usage() { echo "Usage: $0 [-n openfire-tag] [-h] "; exit 0; } PROJECT="openfire" -COMPOSE_FILE_COMMAND=("docker-compose") +COMPOSE_FILE_COMMAND=("docker" "compose") COMPOSE_FILE_COMMAND+=("--env-file" "../_common/.env") COMPOSE_FILE_COMMAND+=("--project-name" "$PROJECT") diff --git a/stop.sh b/stop.sh index 7386052..4d6835c 100755 --- a/stop.sh +++ b/stop.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker-compose -p openfire down \ No newline at end of file +docker compose -p openfire down \ No newline at end of file