Skip to content

Fixes for docker-compose.yml#1008

Merged
floehopper merged 3 commits intomainfrom
fix-docker-compose-yml
May 15, 2024
Merged

Fixes for docker-compose.yml#1008
floehopper merged 3 commits intomainfrom
fix-docker-compose-yml

Conversation

@floehopper
Copy link
Contributor

  • Avoid creating an extra unnecessary container
  • Avoid a warning about the version property

@floehopper floehopper temporarily deployed to previews/fix-docker-compose-yml May 15, 2024 08:52 — with GitHub Actions Inactive
@github-actions
Copy link

@github-actions
Copy link

sra405
sra405 previously approved these changes May 15, 2024
Copy link
Contributor

@sra405 sra405 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice!

Docker compose extensions [1] with the `x-` prefix only work at the
top level of docker-compose.yml.

Prior to this commit we were unintentionally creating an extra container
called `x-app`. Moving the `x-app` section out of `services` and to the
top level fixes the problem.

[1]: https://docs.docker.com/compose/compose-file/11-extension/
The top-level `version` property is obsolete and has been ignored since
docker-compose v1.27 [1] which was released about 4 years ago.

Prior to this change we were seeing the following warning when running
`docker-compose`:

    docker-compose.yml: `version` is obsolete

[1]: https://github.com/compose-spec/compose-spec/blob/af645283d253e485f7a2504865526f8584dc65ff/04-version-and-name.md#version-top-level-element-obsolete
@github-actions
Copy link

@floehopper floehopper merged commit b119f90 into main May 15, 2024
@floehopper floehopper deleted the fix-docker-compose-yml branch May 15, 2024 09:13
@floehopper floehopper mentioned this pull request Jun 3, 2024
floehopper added a commit that referenced this pull request Jun 4, 2024
### Added

- Add `project_name_editable` attribute to web component (#1009)
- Fires custom event when the theme changes (#1015)
- Add `output_only` attribute to web component (#1019 & originally #782)
- Add `assets_identifier` attribute to web component (#1019 & originally
#901)
- Enhance `code` attribute on web component to override project main
component content (#1019 & originally #901)
- Add `runCode`, `stopCode` & `rerunCode` methods to web component
(#1019 & originally #899)
- Send error details in "editor-runCompleted" event (#1019 & originally
#915)
- Return error details to web component (#1019 & originally #915)
- Add `output_panels` attribute to web component (#1019 & originally
#909)

### Changed

- Remove unused `/embedded/projects/:identifier` route (#1013)

### Fixed

- Remove unused `REACT_APP_LOGIN_ENABLED` env var (#1006)
- Fix infinite remix loop when `BYPASS_AUTH` set in `editor-api` (#1007)
- Fixes for docker-compose.yml (#1008)
- Fix deprecation warnings in GitHub Actions (#1011)
- Removed unused `isEmbedded` param from `useProject` call in
`EmbeddedViewer` (#1016)
- Improvements to Cypress specs in CI (#1017)
- Fix warnings and verbose output when starting Webpack Dev Server
(#1018)
- Add e2e spec for project remix behaviour in web component (#1020)
- Fix initial value of `user` in `WebComponentLoader` (#1021)
- Make `authKey` in e2e web component spec more realistic (#1022)
- Remove unused `ComponentStore` (#1023)
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.

3 participants