apso dev
Start the local development server using Docker Compose. Runs Postgres and the application server in containers.
Usage
apso dev
apso dev --build
apso dev --detachOptions
| Option | Description | Default |
|---|---|---|
--build | Rebuild images before starting | false |
-d, --detach | Run containers in the background | false |
Prerequisites
- Docker must be installed
- Docker Compose (v2 plugin or v1 standalone)
- A
docker-compose.ymlfile in the current directory (included in Apso project templates)
Examples
Start in the foreground (logs stream to terminal):
apso devRebuild images and start in the background:
apso dev --build --detachNotes
- Automatically detects Docker Compose v2 (
docker compose) or v1 (docker-compose) - Ctrl+C sends a clean shutdown signal to the containers
Last updated on