Skip to content

Commit

Permalink
Replaced docker-compose with docker compose (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
360dgries committed Nov 28, 2023
1 parent 913467e commit 47856ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/deployment/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/deployment/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion lib/inferno/apps/cli/services.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 47856ec

Please sign in to comment.