Giter Site home page Giter Site logo

Wiping on Reboot about docker-freescout HOT 2 CLOSED

tiredofit avatar tiredofit commented on June 15, 2024
Wiping on Reboot

from docker-freescout.

Comments (2)

jugendhacker avatar jugendhacker commented on June 15, 2024

Maybe you did not mount the db directory ouside of the container like https://github.com/tiredofit/docker-freescout/blob/master/examples/docker-compose.yml#L46 does and so when your restart the container the data is gone?

from docker-freescout.

tiredofit avatar tiredofit commented on June 15, 2024

DB should already be separate based on my example there isn't any local db server in the image, - I have a feeling that they didn't expose the /data folder or any of the folders at all which would certainly delete all data. I built the image to support multiple ways:

a) (recommended) Only hold onto volatile data, ie your own stuff after using the data. Makes it much easier to upgrade the Docker Image and move along with changes of Freescout.

b) Expose the source code which lets you hack away at the code, but makes it more challenging to keep your system up to date.

There is even an enhancement to a) above as well. If you want to hack a few of the files and want them to overwrite the source code, you would simply mount /assets/custom and put your files in there to overwrite anything in the /www/html folder. We use that regularly to update files. Even more so you can also mount /assets/custom-scripts and it will execute bash scripts in that folder to do work inside the container on each boot. Say for example you want to modify files via sed or do something repeatedly, that will also work too.

Regardless, this is stale, so going to close it anyways.

from docker-freescout.

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.