Merge pull request #70 from SelfhostedPro/add_nextcloud

added_nextcloud
This commit is contained in:
SelfhostedPro 2020-06-09 08:13:39 -07:00 committed by GitHub
commit 8a9cf548ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 84 additions and 44 deletions

View File

@ -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

View File

@ -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, "type": 1,
"title": "Nginx", "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, "type": 1,
"title": "SickGear", "title": "SickGear",