Docker Compose file · Profiles, development and reuse

Include another Compose file

Reuse a service definition kept in a separate file.

include:
  - path: ./infra/database.yaml

Official Docker Compose file documentation

More profiles, development and reuse commands

All profiles, development and reuse commands · Docker Compose file cheatsheet

Was this page helpful?