Closed BerglundDaniel closed 7 months ago
The recent updates to the Docker Compose files involve removing the version specification and making format adjustments. Specifically, the db2
service's port and volume configurations have been refined across different environment setups. Additionally, the default image for the db2
service in the main Docker Compose file has been updated to mysql:8.0.33
.
Files | Change Summary |
---|---|
docker-compose.dev.yml |
Removed version declaration, adjusted indentation for db2 service ports. |
docker-compose.prod.yml |
Removed version declaration, adjusted indentation for db2 service volumes. |
docker-compose.test.yml , docker-compose.yml |
Removed version declaration. docker-compose.yml sets db2 image to mysql:8.0.33 . |
docker-compose.test.yml (1)
`1-3`: > :memo: **NOTE** > This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [1-31] The removal of the version declaration and the adjustments in the indentation are correctly implemented. Please ensure to test the configurations in a test environment to verify that all services are functioning as expected.docker-compose.yml (1)
`1-3`: > :memo: **NOTE** > This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [1-63] The removal of the version declaration and the update to the `db2` service image to `mysql:8.0.33` are correctly implemented. Please ensure to test the MySQL service specifically to verify compatibility with the lumen library as described in the comments.
Docker is removing it from the spec so it doesn't do anything in later versions. It's a bit weird though because telling docker what version the xml is using seems like a good thing to have so I don't get it why they removed it.
Docker version later than 2.25 warns about version being obsolete. We probably need to update the docker version on the server before deploying this change
Summary by CodeRabbit