-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10399 from owncloud/web-extensions
feat: add web extensions to the ocis_full example
- Loading branch information
Showing
12 changed files
with
167 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Enhancement: Add web extensions to the ocis_full example | ||
|
||
We added some of the web extensions from ownCloud to the ocis_full docker compose example. | ||
|
||
- importer | ||
- draw-io | ||
- external-sites | ||
- json-viewer | ||
- unzip | ||
- progressbars | ||
|
||
These can be enabled in the .env file one by one. | ||
|
||
Read more about ocis extensions in https://github.com/owncloud/web-extensions/blob/main/README.md | ||
|
||
https://github.com/owncloud/ocis/pull/10399 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
importer: | ||
config: | ||
companionUrl: https://${COMPANION_DOMAIN|companion.owncloud.test} | ||
supportedClouds: | ||
- WebdavPublicLink | ||
#- OneDrive # needs a client id and secret | ||
#- GoogleDrive # needs a client id and secret and an addition to the DNS zone | ||
external-sites: | ||
config: | ||
sites: | ||
# For settings see: https://github.com/owncloud/web-extensions/tree/main/packages/web-app-external-sites | ||
- name: ownCloud | ||
url: "https://owncloud.dev" | ||
target: embedded | ||
color: "#0D856F" | ||
icon: cloud | ||
priority: 50 | ||
- name: Wikipedia | ||
url: "https://www.wikipedia.org" | ||
target: external | ||
color: "#0D856F" | ||
icon: book | ||
priority: 51 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
services: | ||
ocis: | ||
depends_on: | ||
drawio-init: | ||
condition: service_completed_successfully | ||
|
||
drawio-init: | ||
image: owncloud/web-extensions:draw-io-0.2.0 | ||
user: root | ||
volumes: | ||
- ocis-apps:/apps | ||
entrypoint: | ||
- /bin/sh | ||
command: ["-c", "cp -R /var/lib/nginx/html/draw-io/ /apps"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
services: | ||
ocis: | ||
volumes: | ||
- ocis-apps:/var/lib/ocis/web/assets/apps | ||
|
||
volumes: | ||
ocis-apps: |
15 changes: 15 additions & 0 deletions
15
deployments/examples/ocis_full/web_extensions/externalsites.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
services: | ||
ocis: | ||
depends_on: | ||
externalsites-init: | ||
condition: service_completed_successfully | ||
|
||
externalsites-init: | ||
image: owncloud/web-extensions:external-sites-0.2.0 | ||
user: root | ||
volumes: | ||
- ocis-apps:/apps | ||
entrypoint: | ||
- /bin/sh | ||
command: ["-c", "cp -R /var/lib/nginx/html/external-sites/ /apps"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
deployments/examples/ocis_full/web_extensions/jsonviewer.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
services: | ||
ocis: | ||
depends_on: | ||
jsonviewer-init: | ||
condition: service_completed_successfully | ||
|
||
jsonviewer-init: | ||
image: owncloud/web-extensions:json-viewer-0.2.0 | ||
user: root | ||
volumes: | ||
- ocis-apps:/apps | ||
entrypoint: | ||
- /bin/sh | ||
command: ["-c", "cp -R /var/lib/nginx/html/json-viewer/ /apps"] |
15 changes: 15 additions & 0 deletions
15
deployments/examples/ocis_full/web_extensions/progressbars.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
services: | ||
ocis: | ||
depends_on: | ||
progressbars-init: | ||
condition: service_completed_successfully | ||
|
||
progressbars-init: | ||
image: owncloud/web-extensions:progress-bars-0.2.0 | ||
user: root | ||
volumes: | ||
- ocis-apps:/apps | ||
entrypoint: | ||
- /bin/sh | ||
command: ["-c", "cp -R /var/lib/nginx/html/progress-bars/ /apps"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
services: | ||
ocis: | ||
depends_on: | ||
unzip-init: | ||
condition: service_completed_successfully | ||
|
||
unzip-init: | ||
image: owncloud/web-extensions:unzip-0.3.0 | ||
user: root | ||
volumes: | ||
- ocis-apps:/apps | ||
entrypoint: | ||
- /bin/sh | ||
command: ["-c", "cp -R /var/lib/nginx/html/unzip/ /apps"] | ||
|
||
|