Docker Compose file · Profiles, development and reuse

Override settings for development

compose.override.yaml is merged automatically over compose.yaml.

# compose.override.yaml
services:
  web:
    ports:
      - "8000:8000"
    volumes:
      - ./src:/app/src

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?