Open link in a new tab

Content

Expand project menu

Docker how to transfer data

Hi together,

I had run open project with this command:  

docker run -it -p 8080:80 -e SECRET_KEY_BASE=secret openproject/community:8

Now all data is in the conatiner and not in a persistant volume. Can I move the data in a volume?

Message actions

Hi Peter,

Take a look at the link:  https://www.openproject.org/docker/   and read through the section on "Recommended usage".   The -v switches show how to ensure the data in the container will be available in your local directories.

-Rob