This chapter covers the core features and capabilities of Docker Compose Templates.
Follow this guide to get Docker Compose Templates up and running in your environment.
# Pick a stack and start it
cd src/
docker compose -f docker-compose-django.yml up -d
# Check running services
docker compose -f docker-compose-django.yml ps
# View logs
docker compose -f docker-compose-django.yml logs -f
# Tear down
docker compose -f docker-compose-django.yml down -v| File | Stack | Services | Ports |
|---|---|---|---|
docker-compose-lamp.yml | LAMP | Apache, PHP 8.2, MySQL 8, phpMyAdmin | 80, 8080 |
docker-compose-mean.yml | MEAN | Node.js, MongoDB, Nginx | 80, 3000 |
docker-compose-django.yml | Django | Python, Django, PostgreSQL, Redis, Nginx | 80, 8000 |
docker-compose-flask.yml | Flask | Python, Flask, PostgreSQL, Redis, Celery | 80, 5000 |
docker-compose-rails.yml | Rails | Ruby, Rails, PostgreSQL, Redis, Sidekiq | 80, 3000 |
Get the full Docker Compose Templates and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.