From 25257e38b6b2a7bcdb999f0380af26fd1c0543c9 Mon Sep 17 00:00:00 2001 From: 360dgries Date: Tue, 7 Nov 2023 13:02:49 -0500 Subject: [PATCH] Replaced docker-compose with docker compose --- docs/deployment/database.md | 2 +- docs/deployment/index.md | 2 +- lib/inferno/apps/cli/services.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/deployment/database.md b/docs/deployment/database.md index 60a242c75..204142332 100644 --- a/docs/deployment/database.md +++ b/docs/deployment/database.md @@ -24,7 +24,7 @@ deployment. Multi-user deployments should use PostgreSQL instead. ### PostgreSQL with Docker Rather than setting up a separate PostgreSQL service, you can run it via -`docker-compose` along with the rest of Inferno's services. To do so: +`docker compose` along with the rest of Inferno's services. To do so: * Add `gem 'pg'` to `Gemfile` * Add the following entry to `docker-compose.yml`: ```yaml diff --git a/docs/deployment/index.md b/docs/deployment/index.md index b2c5ab937..e0a8b2b85 100644 --- a/docs/deployment/index.md +++ b/docs/deployment/index.md @@ -17,7 +17,7 @@ At a minimum, deploying inferno involves the following: some other way) - run `setup.sh` to pull & build the needed docker images and run database migrations -- run `docker-compose up -d` to start all of the services in the background +- run `docker compose up -d` to start all of the services in the background ## Services By default, a deployment of Inferno includes the following services: diff --git a/lib/inferno/apps/cli/services.rb b/lib/inferno/apps/cli/services.rb index 286e0d33b..03293a68d 100644 --- a/lib/inferno/apps/cli/services.rb +++ b/lib/inferno/apps/cli/services.rb @@ -3,7 +3,7 @@ module CLI class Services < Thor no_commands do def base_command - 'docker-compose -f docker-compose.background.yml' + 'docker compose -f docker-compose.background.yml' end end