I have a question about storing content in my app on local machine. I had setup enonic via https://github.com/enonic-cloud/docker-compose-enonic-xp. Almost everything works fine with default setup. But every time when I do “docker-composer down” all my data disappears ( and this is correct ). How can save it on my PC before stopping docker container ?
And second question is how to use toolbox with docker setup ?
This will put the repo and work folder in the /<storage_dir>/ on yout docker host.
The toolbox util is located in “/enonic-xp/toolbox” folder in the exp container. You can execute it by the “docker exec” command directly as docker exec <exp_container> /enonic-xp/toolbox/toolbox.sh or by entering the container with the command docker exec -it <exp_container> bash
Thanks for your reply. I was able to make docker work together with gredlew deploy. However now I have another strange issue. Looks like that Enonic can’t handle my changes in “com.enonic.xp.web.vhost.cfg” file. It works only if I change volume.
Not shure what you mean about change volume… do you have to delete the volume before the changes is read in enonic xp? or do you mean redeploying the exp container?