FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Using Docker Compose Profiles to unit tests part of the application
NewsWeb Development

Using Docker Compose Profiles to unit tests part of the application

via Dev.to Webdevteaganga1mo ago

Compose profiles let you group services so you can start only a subset of your stack for specific scenarios (e.g., lightweight testing vs. full production). In your docker-compose.yml , add a profiles list to each service you want to group: services : postgres : profiles : [ " core" ] ... jobrunner : profiles : [ " core" ] nextjs : profiles : [ " full" ] authserver : profiles : [ " full" ] How it works docker compose up (no --profile ) Starts only services without a profiles key. In the example above, nothing would start unless you define a default (non-profiled) service. docker compose --profile core up Starts only services tagged with core ( postgres , jobrunner ). Ideal for a lightweight testing stack. docker compose --profile full up Starts only services tagged with full ( nextjs , authserver ). Multiple profiles are supported: docker compose --profile core --profile full up This allows you to maintain one Compose file while running minimal stacks for testing or the full environmen

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
22 views

Related Articles

News

Making HNSW actually work with WHERE clauses

Lobsters • 1d ago

Stop Using Claude Code Like a Chat Window
News

Stop Using Claude Code Like a Chat Window

Medium Programming • 1d ago

The Pixel 10a doesn’t have a camera bump, and it’s great
News

The Pixel 10a doesn’t have a camera bump, and it’s great

TechCrunch • 1d ago

YouTube CEO says the best YouTubers will ‘never leave their home’
News

YouTube CEO says the best YouTubers will ‘never leave their home’

TechCrunch • 1d ago

The Decision Pattern That Prevents Product–Engineering Conflict
News

The Decision Pattern That Prevents Product–Engineering Conflict

Medium Programming • 1d ago

Discover More Articles