-
Notifications
You must be signed in to change notification settings - Fork 64
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
Leveraging a docker-compose file in a devfile definition #501
Labels
2023Q3
area/api
Enhancement or issue related to the api/devfile specification
area/library
Common devfile library for interacting with devfiles
kind/epic
A high level requirement that can/should be split into smaller issues
lifecycle/rotten
Rotten items. These items have been stale for 60 days and are now closed.
lifecycle/stale
Stale items. These items have not been updated for 90 days.
student
Identified work that the students can work on
Comments
elsony
added
the
area/api
Enhancement or issue related to the api/devfile specification
label
Jun 18, 2021
slemeur
changed the title
Docker compose to devfile conversion
Leveraging a docker-compose file in a devfile definition
Jul 13, 2021
Implementation plan:
|
The source code of the PoC after the latest LFX mentorship round: https://github.com/vedant-kakde/kompose-DWO-poc |
yangcao77
added
the
area/library
Common devfile library for interacting with devfiles
label
Jun 21, 2023
yangcao77
added
the
kind/epic
A high level requirement that can/should be split into smaller issues
label
Jun 21, 2023
5 tasks
This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days. |
github-actions
bot
added
the
lifecycle/stale
Stale items. These items have not been updated for 90 days.
label
Jul 22, 2024
github-actions
bot
added
the
lifecycle/rotten
Rotten items. These items have been stale for 60 days and are now closed.
label
Sep 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
2023Q3
area/api
Enhancement or issue related to the api/devfile specification
area/library
Common devfile library for interacting with devfiles
kind/epic
A high level requirement that can/should be split into smaller issues
lifecycle/rotten
Rotten items. These items have been stale for 60 days and are now closed.
lifecycle/stale
Stale items. These items have not been updated for 90 days.
student
Identified work that the students can work on
Use Case
As a developer working on an existing project, I have already setup my environment and built a docker-compose file which defines all the different components that I need to test my application.
I want to leverage that docker-compose in my devfile - so I can make my developer environment codified/versioned/repeatable and keep using my docker-compose as well.
Goals
It's really common for a project to get a docker-compose file. In general this is a convenient way for the developers to more easily setup their application and all its components on their local environment. It can also be used along with different containers to completely build the source code of each application components and deploy those. In this case, there might be different dockerfiles associated with each application components which will trigger a specific "task".
The goal of the effort, is to tie the docker-compose file with the devfile. So if a developer knows how to build a docker-compose or already have one, it'll get easier to onboard on devfile and leverage work and effort that has already been produced. More importantly, it would let somebody continuing to evolve the devfile and the dockercompose so they complement each others.
Examples
There are many different samples we could be looking at:
One that might be even more interesting to look at would be this one https://github.com/RediSearch/redisearch-getting-started:
sample-app
, there is a dockercompose fileSteps / Challenges
1- Docker-compose file with existing containers
Let's take the case that the docker-compose file is only relying on containers that are already built and available in the container catalog (docker-compose not relying on dockerfiles). We should be able to use the docker-compose file and use its services as components for the devfile.
Targets:
2- Docker-compose file with to-be-built containers
In this case, we need to ensure that the devfile/api will have the ability to build the containers and provide them to the developers.
Targets:
The text was updated successfully, but these errors were encountered: