diff --git a/Template/Stack/owncloud.yml b/Template/Stack/owncloud.yml index 327b4be..9509f04 100644 --- a/Template/Stack/owncloud.yml +++ b/Template/Stack/owncloud.yml @@ -20,7 +20,7 @@ services: - OWNCLOUD_REDIS_ENABLED=true - OWNCLOUD_REDIS_HOST=owncloudredis volumes: - - /portainer/Files/AppData/Config/Owncloud/persistantdata:/var/www/html + - /portainer/Files/AppData/Config/Owncloud/data:/mnt/data ports: - ${PORT}:8080 restart: unless-stopped @@ -33,8 +33,7 @@ services: environment: - PUID=${PUID} - PGID=${PGID} - - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} - - TZ=${Timezone} + - TZ=${TZ} - MYSQL_ROOT_PASSWORD=${DB_PASSWORD} - MYSQL_USER=owncloud - MYSQL_PASSWORD=${DB_PASSWORD} @@ -42,7 +41,7 @@ services: volumes: - /portainer/AppData/Config/Owncloud/DB:/var/lib/mysql restart: unless-stopped - owncloudredis: + owncloudredis: image: redis:6 container_name: owncloudredis volumes: diff --git a/Template/template.json b/Template/template.json index 9701720..185bd42 100644 --- a/Template/template.json +++ b/Template/template.json @@ -2488,6 +2488,62 @@ } ] }, + { + "categories": [ + "Cloud", + "Productivity", + "Tools", + "Other", + "Web" + ], + "description": "ownCloud is a self-hosted file sync and share server. It provides access to your data through a web interface, sync clients or WebDAV while providing a platform to view, sync and share across devices easily—all under your control. ownCloud’s open architecture is extensible via a simple but powerful API for applications and plugins and it works with any storage.", + "env": [ + { + "default": "1000", + "label": "PUID", + "name": "PUID" + }, + { + "default": "100", + "label": "PGID", + "name": "PGID" + }, + { + "label": "TZ", + "name": "TZ" + }, + { + "label": "OWNCLOUD_DOMAIN", + "name": "OWNCLOUD_DOMAIN" + }, + { + "label": "DB_PASSWORD", + "name": "DB_PASSWORD" + }, + { + "label": "ADMIN_USERNAME", + "name": "ADMIN_USERNAME" + }, + { + "label": "ADMIN_PASSWORD", + "name": "ADMIN_PASSWORD" + }, + { + "label": "PORT", + "name": "PORT" + } + ], + "logo": "https://raw.githubusercontent.com/docker-library/docs/9d36b4ed7cabc35dbd3849272ba2bd7abe482172/owncloud/logo.png", + "name": "Owncloud", + "note": "The database user is owncloud and the database is owncloud.", + "platform": "linux", + "repository": { + "stackfile": "Template/Stack/owncloud.yml", + "url": "https://github.com/Qballjos/portainer_templates" + }, + "title": "Owncloud", + "type": 3 + }, { "categories": [ "Other",