Skip to content

introduce development mode #13029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

introduce development mode #13029

wants to merge 1 commit into from

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Jul 8, 2025

What I did
docker compose up --dev enable development mode, which allows to publish additional ports (typically: a remote debugger, or administration UI) and override the service command (to switch to yarn dev)

While less powerful, this offers an alternative to a sibling compose-dev.yaml file and need to specify multiple compose files on command line

example:

services:
  app:
     build: .
     develop:
        watch:
           - path: src
             target: /app
        command: yarn dev --port 4001
        ports:
           - 4001:4001

Related issue

(not mandatory) A picture of a cute animal, if possible in relation to what you did

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant