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

refactor(docker): rm duplicate docker-compose.yml #1076

Conversation

roschaefer
Copy link
Contributor

@roschaefer roschaefer commented Jun 10, 2024

Motivation

I strongly suggest to have one docker-compose.yml and one docker-compose.override.yml in a central directory, e.g. the root directory.

I don't see any good reason to scatter the files across sub-directories. If you want to group services, use profiles.

As a follow up, the different READMEs in each sub-directory needs to be updated. If this PR gets merged, I'm willing to do this.

How to test

  1. Adapt workflow files to changes
  2. Run the workflow in the CI by pushing the changes

Todo

  • Adapt Github workflows to changes
  • Update READMEs

@roschaefer roschaefer force-pushed the remove-duplicate-docker-compose-files branch from 8122dd3 to 675f544 Compare June 10, 2024 18:41
@roschaefer roschaefer changed the title refactor: remove duplicate docker-compose.yml refactor(docker): rm duplicate docker-compose.yml Jun 10, 2024
@mahula mahula self-assigned this Jun 10, 2024
@mahula mahula added docu Improvements or additions to documentation devops refactor service:docker labels Jun 10, 2024
@mahula mahula self-requested a review June 10, 2024 19:20
@mahula mahula removed their assignment Jun 10, 2024
Copy link
Contributor

@mahula mahula left a comment

Choose a reason for hiding this comment

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

Good.
Go ahead. Please adapt the Github workflows where necessary.

@roschaefer roschaefer force-pushed the remove-duplicate-docker-compose-files branch from 675f544 to ed59b12 Compare June 30, 2024 21:28
@roschaefer roschaefer marked this pull request as draft July 1, 2024 19:28
@roschaefer roschaefer force-pushed the remove-duplicate-docker-compose-files branch 2 times, most recently from 5fb3e9e to 4067eb5 Compare July 2, 2024 13:04
@roschaefer roschaefer marked this pull request as ready for review July 2, 2024 13:05
@roschaefer roschaefer force-pushed the remove-duplicate-docker-compose-files branch from a8419fe to 0f677c1 Compare July 2, 2024 14:05
@roschaefer roschaefer requested a review from mahula July 2, 2024 15:02
Copy link
Member

@Elweyn Elweyn left a comment

Choose a reason for hiding this comment

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

Thanks for the work

Motivation
----------
I strongly suggest to have one `docker-compose.yml` and one `docker-compose.override.yml` in a central directory, e.g. the root directory.

I don't see any good reason to scatter the files across sub-directories.
If you want to group services, use [profiles](https://docs.docker.com/compose/profiles/).

As a follow up, the different `README`s in each sub-directory needs to be updated. If this PR gets merged, I'm willing to do this.

How to test
-----------
1. Nothing to test.
@roschaefer roschaefer force-pushed the remove-duplicate-docker-compose-files branch from 70cbfd5 to 301d3d3 Compare July 2, 2024 16:36
@roschaefer roschaefer enabled auto-merge (squash) July 2, 2024 16:37
@roschaefer roschaefer merged commit e9d9a99 into dreammall-earth:master Jul 2, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops docu Improvements or additions to documentation refactor service:docker
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants