What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

hi again 🙂 I am wondering if I can add project specific configuration, in a w

UM9F81RCP
UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet

hi again 🙂

I am wondering if I can add project specific configuration, in a way that docker sdk can read….

For example, I have changed docker/generator/src/templates/service/elastic/5.6/elastic.yml.twig to add a new volume mapping to add some files necessary for elastic search to run. I have also added this directory docker/context/elasticsearch/config which contains the necessary configuration.

How can this be added to the project level without changing the sdk.

Please also note that .gitignore ignores the sdk by default thats why I am asking 🙂

Thanks a lot

Comments

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    edited August 2020

    Hello Ahmad,

    Docker SDK does not have such customization points.

    We are gathering all cases for SDK customization in order to prepare fit-able solution. Thank you for your case. Noted!

    Folder docker is in .gitignore intentionally, as it is separate git repo.
    In development we are using git submodule. It is very good for any project as well.

    I can suggest to fork docker sdk, remove docker from gitignore and add a submodule. At least at the moment.

  • UM9F81RCP
    UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet

    i see

  • UM9F81RCP
    UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet

    thank you for your support 🙂

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet

    After forking feel free to propose PR with the changes, if they are not project-specific.