diff --git a/{{cookiecutter.project_slug}}/justfile b/{{cookiecutter.project_slug}}/justfile index a20df231c..649ab6780 100644 --- a/{{cookiecutter.project_slug}}/justfile +++ b/{{cookiecutter.project_slug}}/justfile @@ -7,27 +7,27 @@ default: # build: Build python image. build: @echo "Building python image..." - @docker-compose build + @docker compose build # up: Start up containers. up: @echo "Starting up containers..." - @docker-compose up -d --remove-orphans + @docker compose up -d --remove-orphans # down: Stop containers. down: @echo "Stopping containers..." - @docker-compose down + @docker compose down # prune: Remove containers and their volumes. prune *args: @echo "Killing containers and removing volumes..." - @docker-compose down -v {{ "{{args}}" }} + @docker compose down -v {{ "{{args}}" }} # logs: View container logs logs *args: - @docker-compose logs -f {{ "{{args}}" }} + @docker compose logs -f {{ "{{args}}" }} # manage: Executes `manage.py` command. manage +args: - @docker-compose run --rm django python ./manage.py {{ "{{args}}" }} + @docker compose run --rm django python ./manage.py {{ "{{args}}" }}