Docker Persistent storage example
Closed this issue · 3 comments
nate8199 commented
I've been poking around other issues on here looking for this with no luck so far. Do you have a docker compose example with persistent storage volumes? I would like to try this out but I don't want to lose it whenever I update docker.
AmsellemJoseph commented
Hey, I would also be interested 😊
petersirka commented
Sorry for the delay. Look at this:
https://github.com/totaljs/code-docker-flow/blob/main/docker-compose.yaml
Just replace ##FOLDER_WWW##
with your local path and remove environment
+ networks
.
RodolfoSilva commented
Use this way:
docker run \
--rm \
-p 8000:8000 \
-v "$(pwd)/databases:/www/.src/databases/" \
-v "$(pwd)/flowstream:/www/.src/flowstream/" \
-v "$(pwd)/private:/www/.src/private/" \
totalplatform/flow