-
Notifications
You must be signed in to change notification settings - Fork 95
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
Top-level docker-compose.yml
#1512
Conversation
* moved `docker-compose.yml` to the top-level dir * fixed relative paths accordingly * removed `container_name` properties * replaced host port numbers with env variables with default values
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1512 +/- ##
=========================================
Coverage 70.08% 70.08%
- Complexity 1658 1659 +1
=========================================
Files 32 32
Lines 4272 4272
=========================================
Hits 2994 2994
Misses 1278 1278 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes here look good and the reasons behind the changes were already discussed in issue #1511.
The documentation under dockerfiles/README.md
needs to be updated as well. Currently it says that the docker compose
command should be run under dockerfiles/
which obviously isn't true anymore after these changes. Also, the environment variables for setting the ports should be documented there.
When that is done (@namedgraph can you do it?) then this can be merged to master
, i.e. Skosmos 2.x.
After that the changes should be also ported to the skosmos-3
branch because we want to keep the Docker configuration similar for both versions. On the skosmos-3
some additional adjustments to the phpunit and cypress test suite setup need to be done as well, probably just fixing up paths in tests/init_containers.sh
that currently assume that the docker-compose.yml
file is under dockerfiles/
. I can do that once we have this in master
.
I'll try this week. |
What's the status @namedgraph ? Can you fix |
Aligned with the new `docker-compose.yml` location
SonarCloud Quality Gate failed. 1 Bug No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
@osma made changes. Are they good enough? |
Looks good now so I'm merging this. Thanks a lot! The work still needs to be ported to Skosmos 3.x but I'll take care of that later. |
Reasons for creating this PR
docker-compose
setup unsuitable for multiple Skosmos deploymentsLink to relevant issue(s), if any
docker-compose
setup unsuitable for multiple Skosmos deployments #1511Description of the changes in this PR
docker-compose.yml
to the top-level dircontainer_name
propertiesKnown problems or uncertainties in this PR
Not tested directly :) But these changes work on our private fork and I was able to deploy 2 Skosmos instances on different ports on the same machine.
Checklist
.sr-only
class, color contrast)