Skip to content

Conversation

@dray92
Copy link
Contributor

@dray92 dray92 commented Oct 31, 2022

quite a few things changed in docker-compose from v2 to v3
now, there's some more v2 concepts being reintroduced in v3.9

this change compose spec is causing issues in using tools like kustomize that can help in generating k8s manifests from docker-compose

the goal of this PR is to simplify the file to be able to use such tools to generate helm charts.

see https://stackoverflow.com/questions/71060072/docker-compose-depends-on-with-condition-invalid-type-should-be-an-array

Next PR:
use kustomize to generate helm charts which can deploy an equivalent app using minikube

@dray92 dray92 requested review from sirstampsalot and tylerackerson and removed request for sirstampsalot October 31, 2022 06:18
healthcheck:
test: mysql -h backend-service-db -P 3306 --user=$$MYSQL_USER --password=$$MYSQL_PASSWORD -e 'SHOW DATABASES;'
start_period: 10s
# start_period: 10s # change in docker-compose syntax support
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need this commented-out stuff?

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