Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Persistent storage example #96

Closed
nate8199 opened this issue Mar 8, 2023 · 3 comments
Closed

Docker Persistent storage example #96

nate8199 opened this issue Mar 8, 2023 · 3 comments

Comments

@nate8199
Copy link

nate8199 commented Mar 8, 2023

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
Copy link

Hey, I would also be interested 😊

@petersirka
Copy link
Collaborator

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants