diff --git a/blueprints/owncloud-infinite-scale/docker-compose.yml b/blueprints/owncloud-infinite-scale/docker-compose.yml new file mode 100644 index 000000000..5dadf0766 --- /dev/null +++ b/blueprints/owncloud-infinite-scale/docker-compose.yml @@ -0,0 +1,31 @@ +version: "3.8" + +services: + owncloud-infinite-scale: + image: owncloud/ocis:8.0.3 + restart: unless-stopped + entrypoint: + - /bin/sh + command: ["-c", "ocis init --insecure yes || true; ocis server"] + expose: + - "9200" + environment: + OCIS_URL: ${OCIS_URL} + OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL} + OCIS_INSECURE: "true" + PROXY_TLS: "false" + PROXY_HTTP_ADDR: 0.0.0.0:9200 + IDM_ADMIN_PASSWORD: ${IDM_ADMIN_PASSWORD} + SETTINGS_GRPC_ADDR: 0.0.0.0:9191 + GATEWAY_GRPC_ADDR: 0.0.0.0:9142 + STORAGE_USERS_DATA_GATEWAY_URL: http://owncloud-infinite-scale:9200/data + THUMBNAILS_FILESYSTEMSTORAGE_ROOT: /var/lib/ocis-thumbnails + volumes: + - owncloud-infinite-scale-config:/etc/ocis + - owncloud-infinite-scale-data:/var/lib/ocis + - owncloud-infinite-scale-thumbnails:/var/lib/ocis-thumbnails + +volumes: + owncloud-infinite-scale-config: + owncloud-infinite-scale-data: + owncloud-infinite-scale-thumbnails: diff --git a/blueprints/owncloud-infinite-scale/owncloud-infinite-scale.svg b/blueprints/owncloud-infinite-scale/owncloud-infinite-scale.svg new file mode 100644 index 000000000..8d4359d41 --- /dev/null +++ b/blueprints/owncloud-infinite-scale/owncloud-infinite-scale.svg @@ -0,0 +1,11 @@ + + + + + diff --git a/blueprints/owncloud-infinite-scale/template.toml b/blueprints/owncloud-infinite-scale/template.toml new file mode 100644 index 000000000..2096950c1 --- /dev/null +++ b/blueprints/owncloud-infinite-scale/template.toml @@ -0,0 +1,41 @@ +[variables] +main_domain = "${domain}" +owncloud_url = "http://${main_domain}" +admin_password = "${password:32}" +log_level = "info" + +[[config.domains]] +serviceName = "owncloud-infinite-scale" +port = 9200 +host = "${main_domain}" +path = "/" + +[[config.mounts]] +filePath = "README.md" +content = """# ownCloud Infinite Scale + +This template deploys ownCloud Infinite Scale (oCIS), a modern file sync and share platform with WebDAV and ownCloud client support. + +## Access + +- URL: `http://${main_domain}` +- Admin user: `admin` +- Admin password: the generated `admin_password` value + +The `owncloud_url` value is written into the initial oCIS configuration. Set it to `https://${main_domain}` before the first deployment if your Dokploy domain enforces TLS. Change it before the first deployment if your public URL is different, because `ocis init` does not rewrite an existing `ocis.yaml` file. + +## Storage + +The template creates persistent volumes for: + +- `/etc/ocis` configuration +- `/var/lib/ocis` application data and user storage +- `/var/lib/ocis-thumbnails` generated thumbnails + +Back up these volumes together before upgrades or migrations. +""" + +[config.env] +OCIS_URL = "${owncloud_url}" +IDM_ADMIN_PASSWORD = "${admin_password}" +OCIS_LOG_LEVEL = "${log_level}" diff --git a/meta.json b/meta.json index 8be7825d7..c6a70d29c 100644 --- a/meta.json +++ b/meta.json @@ -4835,6 +4835,25 @@ "rtmp" ] }, + { + "id": "owncloud-infinite-scale", + "name": "ownCloud Infinite Scale", + "version": "8.0.3", + "description": "ownCloud Infinite Scale is a modern file sync and share platform with WebDAV and ownCloud client support.", + "logo": "owncloud-infinite-scale.svg", + "links": { + "github": "https://github.com/owncloud/ocis", + "website": "https://owncloud.com/infinite-scale/", + "docs": "https://doc.owncloud.com/ocis/latest/" + }, + "tags": [ + "storage", + "files", + "sync", + "webdav", + "collaboration" + ] + }, { "id": "palmr", "name": "Palmr",