-
Notifications
You must be signed in to change notification settings - Fork 1
Development workflow
Christian Hochlin edited this page Nov 27, 2018
·
14 revisions
All the following commands should be run in the root of the repository, where the docker-compose.yml-file is.
-
docker-compose up -dordocker-compose upto run either in detached mode or not. See explanation-section for the differences.
- Make your changes
docker-compose restart <servicename>
- Make your changes
-
docker-compose downor Ctrl+C (depending on if in detached mode) docker-compose build <servicename>docker-compose up
- Make your changes
- App will hot reload
- Make your changes
-
docker-compose downor Ctrl+C (depending on if in detached mode) docker-compose build <servicename>docker-compose up
-
docker-compose downor Ctrl+C (depending on if in detached mode) - Add the new service (using scaffolding?)
- Add a corresponding entry to docker-compose.yml and docker-compose.override.yml
- Add an entry to gateway/ocelot.json
docker-compose build gatewaydocker-compose up