Replies: 2 comments
-
Hello there, I'm afraid I have no expertise with Docker and so I can't be any help. Chyrp Lite's Docker support was kindly contributed by users. The most recent Docker improvements were contributed by @KenHV - perhaps wee might be willing to share some thoughts on module management with Docker. |
Beta Was this translation helpful? Give feedback.
-
Hello @csammis. Since only some parts of the webroot must be persisted, I have a separate volume /data. I use a script to sync the persistent files needed to /data (https://github.com/xenocrat/chyrp-lite/blob/master/entrypoint.sh). If you'd like to add a directory, you can mount it like this: dir:/var/www/html/path/to/dir. |
Beta Was this translation helpful? Give feedback.
-
The docker-compose provided with the Github repo doesn't map any part of the webroot (except uploads/) to a persisted volume. Since extension installation is done by copying files into a subdirectory of the webroot then there is a need to have a persistent mount in that location - preferably one that's writable by a non-root user on the container host. The default persistence location on a Linux host isn't accessible to non-root users so root access would be required to "install" an extension.
What's the recommended way to configure this?
Beta Was this translation helpful? Give feedback.
All reactions