Working with the Docker Containers in Development¶
Quick Start¶
Quick Start Overview
Use this section to quickly run the full stack or individual services during development.
Run Everything (Full Stack)¶
Note
Check the docker-compose.yml file for more information about the specific configuration of the full stack.
Spin up the entire stack using Docker:
docker-compose up --build
Run Individual Services¶
Use these commands if you only need specific parts of the stack.
docker-compose up -d <container-name>
Other Docker Commands & References¶
Beyond Quick Start
This guide only covers the most common development workflows. For advanced usage (attaching, cleanup, rebuilding, logs, profiles, overrides), refer to the official Docker documentation below.
Useful Docker Commands¶
# Stop all running services
docker-compose down
# Stop and remove volumes (⚠ deletes database data)
docker-compose down -v
# Rebuild a specific service
docker-compose build api
# View logs for a service
docker-compose logs -f api
# List running containers
docker-compose ps
Official Documentation¶
-
Docker Compose Overview https://docs.docker.com/compose/
-
Docker Compose CLI Reference https://docs.docker.com/compose/reference/
-
Docker Volumes (Data Persistence) https://docs.docker.com/storage/volumes/
-
Docker Networking https://docs.docker.com/network/