Skip to content

Volume-bind problem for web-applications #470

@tackin

Description

@tackin

According to: https://docs.opencloud.eu/de/docs/admin/configuration/web-applications
and the docker-compose.yaml
https://github.com/opencloud-eu/opencloud-compose/blob/b7078d309b7db0aa828d635d75324c8679ffbc47/docker-compose.yml#L60

I should be able to add the downloaded json-viewer-app from the App-Store.

This does not work.
Problem:

  • ${OC_DATA_DIR:-opencloud-data}:/var/lib/opencloud ( in .env-file I set OC_DATA_DIR=./OC-data )
    will take control over the /var/lib/opencloud directory.
    A later added/installed:
  • ${OC_APPS_DIR:-./OC-apps}:/var/lib/opencloud/web/assets/apps
    will therefore not bind again and create the dir in /var/lib/opencloud/web/assets/apps
    So /var/lib/opencloud/web/assets/apps will still not exist in the container.

And even if I put the extracted json-viewer in the ./OC-data/web/assets/apps/json-viewer/ directory, I cannot see the web-app showing up in my browser or parse a test.json - file while editing.

This issue is related to multiple repos to fix/clear things. Please put the issue where ever helpfull.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions