diff --git a/Template/Stack/Nextcloud.yml b/Template/Stack/Nextcloud.yml new file mode 100644 index 0000000..d4c54db --- /dev/null +++ b/Template/Stack/Nextcloud.yml @@ -0,0 +1,34 @@ +--- +version: "2" +services: + bookstack: + image: linuxserver/bookstack + container_name: bookstack + environment: + - PUID=${PUID} + - PGID=${PGID} + - DB_HOST=bookstack_db + - DB_USER=bookstack + - DB_PASS=${DATABASE_PASSWORD} + - DB_DATABASE=bookstackapp + volumes: + - /portainer/Files/AppData/Bookstack/Data:/config + ports: + - ${PORT}:80 + restart: unless-stopped + depends_on: + - bookstack_db + bookstack_db: + image: linuxserver/mariadb + container_name: bookstack_db + environment: + - PUID=${PUID} + - PGID=${PGID} + - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} + - TZ=${Timezone} + - MYSQL_DATABASE=bookstackapp + - MYSQL_USER=bookstack + - MYSQL_PASSWORD=${DATABASE_PASSWORD} + volumes: + - /portainer/Files/AppData/Bookstack/DB:/config + restart: unless-stopped diff --git a/Template/template.json b/Template/template.json index 88bf9a7..c6990a7 100644 --- a/Template/template.json +++ b/Template/template.json @@ -2242,50 +2242,6 @@ } ] }, - { - "type": 1, - "title": "NextCloud", - "name": "nextcloud", - "description": "Nextcloud is an open source, self-hosted file sync and communication app platform. Access and sync your files, contacts, calendars and communicate and collaborate across your devices. You decide what happens with your data, where it is and who can access it!", - "logo": "https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Images/nextcloud-icon.png", - "image": "linuxserver/nextcloud:latest", - "categories": [ - "Cloud", - "Productivity", - "Tools", - "Other", - "Web" - ], - "platform": "linux", - "restart_policy": "unless-stopped", - "ports": [ - "443/tcp" - ], - "volumes": [ - { - "container": "/config", - "bind": "/portainer/Files/AppData/Config/Nextcloud" - }, - { - "container": "/data", - "bind": "/portainer/Files/Nextcloud-data" - } - ], - "env": [ - { - "name": "PUID", - "label": "PUID", - "default": "1000", - "preset": true - }, - { - "name": "PGID", - "label": "PGID", - "default": "100", - "preset": true - } - ] - }, { "type": 1, "title": "Nginx", @@ -3621,6 +3577,56 @@ } ] }, + { + "type": 3, + "title": "Nextcloud", + "name" : "nextcloud", + "description": "Where are your photos and documents? With Nextcloud you pick a server of your choice, at home, in a data center or at a provider. And that is where your files will be. Nextcloud runs on that server, protecting your data and giving you access from your desktop or mobile devices.", + "logo": "https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Images/bookstack2.png", + "categories": [ + "Cloud", + "Productivity", + "Tools", + "Other", + "Web" + ], + "note": "The database user is nextcloud and the database is nextcloud_db", + "platform": "linux", + "repository": { + "url": "https://github.com/SelfhostedPro/selfhosted_templates", + "stackfile": "Template/Stack/nextcloud.yml" + }, + "env": [ + { + "name": "PUID", + "label": "PUID", + "default": "1000", + "preset": true + }, + { + "name": "PGID", + "label": "PGID", + "default": "100", + "preset": true + }, + { + "name": "TZ", + "label": "TZ" + }, + { + "name": "DATABASE_PASSWORD", + "label": "DATABASE_PASSWORD" + }, + { + "name": "MYSQL_ROOT_PASSWORD", + "label": "MYSQL_ROOT_PASSWORD" + }, + { + "name": "PORT", + "label": "PORT" + } + ] + }, { "type": 1, "title": "SickGear",