When does docker compose up start the adminer service?
services:
api:
image: api
adminer:
image: adminer
profiles: ["debug"]
- Always; profiles are only labels
- Only when the debug profile is on
- Only after api reports healthy
- Only when logging is set to debug
Services with profiles are skipped unless a matching profile is enabled, e.g. with --profile debug or COMPOSE_PROFILES; services without profiles always start.
Play DevOps ▸