Calling Developers!
We are reenergizing our code contribution process! Learn More

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

Options
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
    Options

    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
    Options

    i see

  • UM9F81RCP
    UM9F81RCP Posts: 516 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet
    Options

    thank you for your support ๐Ÿ™‚

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet
    Options

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