Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify container dependencies in docker-compose in preparation for generating helm charts #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
@@ -20,7 +19,7 @@ services:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
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.

2 participants