You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deploy: add a Docker Compose example and fix the image data dir #31
The Docker path works today only by reading the Dockerfile and improvising. A user with OpenCloud on Docker Compose and an external nginx (ocnotes#35) asked how to install the apps there, and the honest answer is that the docs only cover the systemd path.
Two things to fix:
Image data dir.Dockerfile declares VOLUME /var/lib/ocapps and runs as uid 10001, but never creates or chowns the directory. A named volume inherits root:root 0755, and startup fails in ensureWritableDir with OCAPPS_DATA_DIR "/var/lib/ocapps" no escribible. Fix by creating and chowning it before USER ocapps.
Compose example. Add deploy/docker-compose.example.yml with the service on the OpenCloud network (OCAPPS_OPENCLOUD_URL=http://opencloud:9200, only the modules the user wants, 127.0.0.1:8096 published for the external proxy) and a Docker section in deploy/README.md that covers the two pieces the installer cannot do there:
the extension, unzipped into the ./config/opencloud/apps bind mount that the official compose file already maps to /var/lib/opencloud/web/assets/apps, plus the apps.yaml entry and an opencloud container restart;
the nginx routes (/index.php/apps/notes/ and = /ocs/v2.php/cloud/capabilities) to 127.0.0.1:8096.
Acceptance: a reader with the official compose file plus an external nginx gets Notes working by copying one service block, one unzip command and two locations, without systemd.
Activity