Skip to content

Commit

Permalink
Merge pull request #539 from alphagov/workaround-for-issue-537
Browse files Browse the repository at this point in the history
Mount /tmp as a tmpfs volume to work around #537
  • Loading branch information
ollietreend authored Dec 7, 2021
2 parents 1a50766 + e2ad69b commit 4847314
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions projects/content-publisher/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions projects/whitehall/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4847314

Please sign in to comment.