feat: deprecate compose subcommand

This commit is contained in:
2026-09-04 14:35:57 +00:00
parent d11b0c68cd
commit 6e44527a9a
10 changed files with 43 additions and 109 deletions

View File

@@ -49,19 +49,6 @@ since docker reads that too:
COMPOSE_FILE=docker/docker-compose.yaml
```
## compose
Wrappers around the matching `docker compose` call, plus `exec` and `bash`
which default to the django service.
```bash
ahab compose up # also build, down, ps, start, stop
ahab compose rebuild # stop, build, up
ahab compose restart # stop, up, so containers are recreated
ahab compose bash # shell in the django service
ahab compose exec <cmd>
```
## service detection
`ahab` finds the services it needs in `docker compose config`, so they can be
@@ -83,7 +70,9 @@ project declares, falling back to `db` when it declares neither.
## django
```bash
ahab django manage <args> # manage.py in a fresh container
ahab django run <cmd> # in a fresh container, through the entrypoint
ahab django bash # shell in a fresh container
ahab django manage <args> # manage.py
ahab django makemigrations
ahab django migrate <args>
ahab django shell