Drop use of old style "docker-compose" in favour "docker compose" everywhere
parent
f9e5e43506
commit
346a4e4005
|
@ -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")
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue