canvas-lms/docker-compose
Jon Scheiding fb837343e0 docker-compose config to build:watch es packages
Adds an override file you can use to run build:watch on the packages
that have es builds (since main webpack build is getting them from there
instead of watching the src directly)
Currently this is canvas-rce and canvas-media, but more can be added

flag=none

test plan
- Remove the canvas-media and canvas-rce volumes from your
  `docker-compose.override.yml` file
  (see changes to docker-compose.override.yml.example)
- Update the `COMPOSE_FILE` variable in your .env file to include
  `docker-compose/watch-es-packages.override.yml`
  (make sure it's after your main override file)
- `docker-compose up -d` to recreate your containers
- `docker-compose logs -f webpack`
  Observe that the canvas-rce and canvas-media builds happen before
  webpack starts
- Wait for the initial webpack build to complete
- Make a change to some JS file under canvas-rce and/or canvas-media
  Observe in your webpack container logs that webpack rebuilds
- Go to https://canvas.docker and make sure the change you made is
  reflected

Change-Id: Id08d52cc35bf120723b6ed05817ea01644ebec23
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/300091
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Build-Review: Aaron Ogata <aogata@instructure.com>
Reviewed-by: Yona Appletree <yona.appletree@instructure.com>
QA-Review: Jon Scheiding <jon.scheiding@instructure.com>
Product-Review: Jon Scheiding <jon.scheiding@instructure.com>
2022-12-15 22:18:24 +00:00
..
config prevent parallel test runners from stomping on others' file stores 2022-11-04 22:37:09 +00:00
karma use chromium to run karma on arm machines 2022-10-11 17:01:02 +00:00
postgres remove postgis and upgrade postgres to 14 2022-08-26 16:15:34 +00:00
vault Add vault client to canvas 2020-02-03 19:00:13 +00:00
api-gateway.override.yml.example Read credentials from rails credentials for access token 2021-10-22 14:50:48 +00:00
cassandra.override.yml bump all docker-compose files to 2.3 2020-07-28 20:44:44 +00:00
consul.override.yml bump all docker-compose files to 2.3 2020-07-28 20:44:44 +00:00
dynamodb.override.yml Introduce release notes data model 2021-04-05 16:09:59 +00:00
js-tests.override.yml (i18n-js:4) use i18nliner-canvas from npm 2022-06-23 18:42:23 +00:00
kinesis.override.yml bump all docker-compose files to 2.3 2020-07-28 20:44:44 +00:00
lti-test-tool.override.yml bump all docker-compose files to 2.3 2020-07-28 20:44:44 +00:00
mailcatcher.override.yml bump all docker-compose files to 2.3 2020-07-28 20:44:44 +00:00
rce-api.override.yml Fix RCE docker-compose configuration to work right with Dory 2021-11-04 14:56:53 +00:00
rdebug-ide.override.yml Fix rdebug-ide to not confuse dinghy/dory proxy 2022-07-06 19:26:23 +00:00
rdebug-ide.sh Don't terminate web container when disconnecting debugger 2022-11-07 15:59:29 +00:00
selenium.override.yml Note the seleniarm image name in selenium compose file 2022-11-10 22:24:40 +00:00
vault.override.yml bump all docker-compose files to 2.3 2020-07-28 20:44:44 +00:00
watch-es-packages.override.yml docker-compose config to build:watch es packages 2022-12-15 22:18:24 +00:00