diff --git a/projects/content-publisher/docker-compose.yml b/projects/content-publisher/docker-compose.yml index 8ce644c6..e11c118e 100644 --- a/projects/content-publisher/docker-compose.yml +++ b/projects/content-publisher/docker-compose.yml @@ -17,6 +17,9 @@ x-content-publisher: &content-publisher - content-publisher-tmp:/govuk/content-publisher/tmp - content-publisher-node-modules:/govuk/content-publisher/node_modules working_dir: /govuk/content-publisher + # Mount /tmp as a tmpfs volume. This is a workaround until docker/for-linux#1015 is resolved. + # See alphagov/govuk-docker#537 for more info. + tmpfs: /tmp services: content-publisher-lite: diff --git a/projects/whitehall/docker-compose.yml b/projects/whitehall/docker-compose.yml index f701a987..cc0abcc8 100644 --- a/projects/whitehall/docker-compose.yml +++ b/projects/whitehall/docker-compose.yml @@ -17,6 +17,9 @@ x-whitehall: &whitehall - whitehall-tmp:/govuk/whitehall/tmp - whitehall-node-modules:/govuk/whitehall/node_modules working_dir: /govuk/whitehall + # Mount /tmp as a tmpfs volume. This is a workaround until docker/for-linux#1015 is resolved. + # See alphagov/govuk-docker#537 for more info. + tmpfs: /tmp services: whitehall-lite: