Coder Social home page Coder Social logo

Comments (2)

GreenFrogSB avatar GreenFrogSB commented on May 27, 2024

From LMDS scripting:

There is no reason for this to happen if you only run: docker-compose up -d after modifying docker-compose.yml file.

There would be a reason for this to take place, if after your modifications to docker-compose.yml you run deploy.sh and add or remove a container or two using the script logic, as your compose will be rebuild from templates on this occasion with predefined settings.

There is a hidden folder with templates for every single container from where script takes default settings and rebuilds entire compose each time you add or remove container using the script itself, then and only then it will overwrite your changes to the compose.

You could adjust relevant templates from inside: ls -l .templates/ but as I mentioned earlier if you run docker-compose up -d after modifications and not even starting the script by deploy.sh from script perspective there is nothing that could be done to your compose.

I hope that helps.

from lmds.

chenks avatar chenks commented on May 27, 2024

sorry to re-open this, but it's just happened again to me.
i ran deploy.sh to add a new container, used the "preserve" option when it prompted about the existing containers, and once finished it had reverted the changes i'd made to docker-compose.yml.

surely this can't be an intentional outcome?

from lmds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.