Skip to content

Commit

Permalink
substitui docker-compose por docker compose em ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelpezzuto committed Aug 30, 2024
1 parent de27a6f commit bd13da4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: docker compose -f local.yml run --rm django python manage.py makemigrations

- name: Run DB Migrations
run: docker-compose -f local.yml run --rm django python manage.py migrate
run: docker compose -f local.yml run --rm django python manage.py migrate

- name: Run Django Tests
run: docker compose -f local.yml run django pytest
Expand Down
2 changes: 1 addition & 1 deletion compose/production/postgres/maintenance/backup
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
### Create a database backup.
###
### Usage:
### $ docker-compose -f <environment>.yml (exec |run --rm) postgres backup
### $ docker compose -f <environment>.yml (exec |run --rm) postgres backup


set -o errexit
Expand Down
2 changes: 1 addition & 1 deletion compose/production/postgres/maintenance/backups
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
### View backups.
###
### Usage:
### $ docker-compose -f <environment>.yml (exec |run --rm) postgres backups
### $ docker compose -f <environment>.yml (exec |run --rm) postgres backups


set -o errexit
Expand Down
2 changes: 1 addition & 1 deletion compose/production/postgres/maintenance/restore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
### <1> filename of an existing backup.
###
### Usage:
### $ docker-compose -f <environment>.yml (exec |run --rm) postgres restore <1>
### $ docker compose -f <environment>.yml (exec |run --rm) postgres restore <1>


set -o errexit
Expand Down
2 changes: 1 addition & 1 deletion docs/howto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Documentation can be written as rst files in `core/docs`.

To build and serve docs, use the commands::
docker-compose -f local.yml up docs
docker compose -f local.yml up docs



Expand Down

0 comments on commit bd13da4

Please sign in to comment.