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

feat: simplify the docker-compose setup so we do less version coordinations #12998

Merged
merged 9 commits into from
Nov 29, 2022

Conversation

fuziontech
Copy link
Member

@fuziontech fuziontech commented Nov 29, 2022

  • feat: remove version from docker compose to support new spec
  • feat: simplify the docker-compose setup so we do less version coordinations

depends on #12997

This moves from docker-compose to docker compose which is how github differentiates between v1 and v2

Problem

This makes it easier by having a base docker-compose template for development by using extends. Very exciting!
https://github.com/compose-spec/compose-spec/blob/master/spec.md#extends

Changes

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

@fuziontech
Copy link
Member Author

fuziontech commented Nov 29, 2022

Ignore the hobby CI. It's broken and needs fixing (there is a prompt for input while installing dependencies now)

@@ -0,0 +1,63 @@
#
# docker-compose file used ONLY for local development.
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if this comment is accurate

Copy link
Member Author

Choose a reason for hiding this comment

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

ah, good catch!

Copy link
Contributor

@guidoiaquinti guidoiaquinti left a comment

Choose a reason for hiding this comment

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

Minor comment, overall LGTM

@fuziontech fuziontech enabled auto-merge (squash) November 29, 2022 20:29
@fuziontech fuziontech merged commit 696028e into master Nov 29, 2022
@fuziontech fuziontech deleted the based branch November 29, 2022 20:50
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.

None yet

2 participants