Skip to Content
🚀 APSO is now in public beta. Get started →

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 --detach

Options

OptionDescriptionDefault
--buildRebuild images before startingfalse
-d, --detachRun containers in the backgroundfalse

Prerequisites

  • Docker must be installed
  • Docker Compose (v2 plugin or v1 standalone)
  • A docker-compose.yml file in the current directory (included in Apso project templates)

Examples

Start in the foreground (logs stream to terminal):

apso dev

Rebuild images and start in the background:

apso dev --build --detach

Notes

  • Automatically detects Docker Compose v2 (docker compose) or v1 (docker-compose)
  • Ctrl+C sends a clean shutdown signal to the containers
Last updated on