Add Nextcloud
This commit is contained in:
parent
2b2f6e6b7c
commit
02afb42366
106
templates/nextcloud/0/docker-compose.yml
Normal file
106
templates/nextcloud/0/docker-compose.yml
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
version: '2'
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
nextcloud:
|
||||||
|
build: https://github.com/stebifan/nc-hoffmann-hosting.git
|
||||||
|
volumes:
|
||||||
|
- nextcloud:/var/www/html
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
- web
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: nextcloud
|
||||||
|
POSTGRES_USER: nextcloud
|
||||||
|
NC_POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
|
POSTGRES_HOST: db
|
||||||
|
NEXTCLOUD_ADMIN_USER: admin
|
||||||
|
NEXTCLOUD_ADMIN_PASSWORD: ${NEXTCLOUD_ADMIN_PASSWORD}
|
||||||
|
DOMAIN: ${DOMAIN}
|
||||||
|
links:
|
||||||
|
- db:db
|
||||||
|
labels:
|
||||||
|
io.rancher.container.hostname_override: container_name
|
||||||
|
io.rancher.container.pull_image: always
|
||||||
|
|
||||||
|
web:
|
||||||
|
image: hoffmannhosting/nc-hoffmann-hosting-nginx
|
||||||
|
links:
|
||||||
|
- nextcloud:app
|
||||||
|
volumes:
|
||||||
|
- nextcloud:/var/www/html:ro
|
||||||
|
depends_on:
|
||||||
|
- nextcloud
|
||||||
|
restart: always
|
||||||
|
labels:
|
||||||
|
io.rancher.container.hostname_override: container_name
|
||||||
|
io.rancher.container.pull_image: always
|
||||||
|
https: yes
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: postgres
|
||||||
|
volumes:
|
||||||
|
- db:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
|
POSTGRES_DB: nextcloud
|
||||||
|
POSTGRES_USER: nextcloud
|
||||||
|
labels:
|
||||||
|
io.rancher.container.hostname_override: container_name
|
||||||
|
|
||||||
|
redirect-https:
|
||||||
|
image: hoffmannhosting/docker-nginx-https-redirect
|
||||||
|
labels:
|
||||||
|
io.rancher.container.hostname_override: container_name
|
||||||
|
http: yes
|
||||||
|
depends_on:
|
||||||
|
- web
|
||||||
|
|
||||||
|
letsencrypt:
|
||||||
|
image: janeczku/rancher-letsencrypt:v0.5.0
|
||||||
|
environment:
|
||||||
|
API_VERSION: Production
|
||||||
|
AWS_ACCESS_KEY: ''
|
||||||
|
AWS_SECRET_KEY: ''
|
||||||
|
AZURE_CLIENT_ID: ''
|
||||||
|
AZURE_CLIENT_SECRET: ''
|
||||||
|
AZURE_RESOURCE_GROUP: ''
|
||||||
|
AZURE_SUBSCRIPTION_ID: ''
|
||||||
|
AZURE_TENANT_ID: ''
|
||||||
|
CERT_NAME: ${DOMAIN}
|
||||||
|
CLOUDFLARE_EMAIL: ''
|
||||||
|
CLOUDFLARE_KEY: ''
|
||||||
|
DNSIMPLE_EMAIL: ''
|
||||||
|
DNSIMPLE_KEY: ''
|
||||||
|
DNS_RESOLVERS: 8.8.8.8:53,8.8.4.4:53
|
||||||
|
DOMAINS: ${DOMAIN}
|
||||||
|
DO_ACCESS_TOKEN: ''
|
||||||
|
DYN_CUSTOMER_NAME: ''
|
||||||
|
DYN_PASSWORD: ''
|
||||||
|
DYN_USER_NAME: ''
|
||||||
|
EMAIL: s.hoffmann@hoffmann-hosting.de
|
||||||
|
EULA: 'Yes'
|
||||||
|
GANDI_API_KEY: ''
|
||||||
|
OVH_APPLICATION_KEY: ''
|
||||||
|
OVH_APPLICATION_SECRET: ''
|
||||||
|
OVH_CONSUMER_KEY: ''
|
||||||
|
PROVIDER: HTTP
|
||||||
|
PUBLIC_KEY_TYPE: RSA-2048
|
||||||
|
RENEWAL_PERIOD_DAYS: '20'
|
||||||
|
RENEWAL_TIME: '12'
|
||||||
|
VULTR_API_KEY: ''
|
||||||
|
volumes:
|
||||||
|
- /var/lib/rancher:/var/lib/rancher
|
||||||
|
- zertifikate:/etc/letsencrypt
|
||||||
|
labels:
|
||||||
|
io.rancher.container.agent.role: environment
|
||||||
|
io.rancher.container.create_agent: 'true'
|
||||||
|
service: letsencrypt
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
nextcloud:
|
||||||
|
driver: rancher-nfs
|
||||||
|
db:
|
||||||
|
driver: rancher-nfs
|
||||||
|
zertifikate:
|
||||||
|
driver: local
|
66
templates/nextcloud/0/rancher-compose.yml
Normal file
66
templates/nextcloud/0/rancher-compose.yml
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
version: '2'
|
||||||
|
|
||||||
|
catalog:
|
||||||
|
|
||||||
|
name: nextcloud
|
||||||
|
version: 13.0.2
|
||||||
|
description: Nextcloud - Enterprise File Sync and Share
|
||||||
|
questions:
|
||||||
|
- variable: POSTGRES_PASSWORD
|
||||||
|
label: PostreSQL password
|
||||||
|
required: true
|
||||||
|
type: password
|
||||||
|
- variable: NEXTCLOUD_ADMIN_PASSWORD
|
||||||
|
label: Nextcloud Admin Password
|
||||||
|
required: true
|
||||||
|
type: password
|
||||||
|
- variable: DOMAIN
|
||||||
|
default: your-domain.de
|
||||||
|
label: Domain
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
nextcloud:
|
||||||
|
scale: 1
|
||||||
|
start_on_create: true
|
||||||
|
|
||||||
|
db:
|
||||||
|
scale: 1
|
||||||
|
start_on_create: true
|
||||||
|
|
||||||
|
redirect-https:
|
||||||
|
scale: 1
|
||||||
|
start_on_create: true
|
||||||
|
lb_config:
|
||||||
|
port_rules:
|
||||||
|
- target_port: 80
|
||||||
|
hostname: ${DOMAIN}
|
||||||
|
|
||||||
|
web:
|
||||||
|
scale: 1
|
||||||
|
start_on_create: true
|
||||||
|
lb_config:
|
||||||
|
port_rules:
|
||||||
|
- target_port: 80
|
||||||
|
hostname: ${DOMAIN}
|
||||||
|
health_check:
|
||||||
|
healthy_threshold: 2
|
||||||
|
response_timeout: 2000
|
||||||
|
port: 80
|
||||||
|
unhealthy_threshold: 3
|
||||||
|
initializing_timeout: 1000
|
||||||
|
interval: 2000
|
||||||
|
strategy: recreate
|
||||||
|
request_line: 'GET "/" "HTTP/1.1\r\nHost: ${DOMAIN}"'
|
||||||
|
reinitializing_timeout: 1000
|
||||||
|
|
||||||
|
letsencrypt:
|
||||||
|
scale: 1
|
||||||
|
start_on_create: true
|
||||||
|
lb_config:
|
||||||
|
port_rules:
|
||||||
|
- target_port: 80
|
||||||
|
hostname: ${DOMAIN}
|
22
templates/nextcloud/README.md
Normal file
22
templates/nextcloud/README.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# NextCloud
|
||||||
|
|
||||||
|
Enterprise File Sync and Share
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
When you start Nextcloud for the first time you will see the [Installation Wizard](https://docs.nextcloud.com/server/12/admin_manual/installation/installation_wizard.html).
|
||||||
|
|
||||||
|
1.) Point your Web browser to your Nextcloud Installation and enter your [Username / Password](https://docs.nextcloud.com/server/12/admin_manual/installation/installation_wizard.html#quick-start).
|
||||||
|
|
||||||
|
2.) We persist the [Data Directory Location](https://docs.nextcloud.com/server/12/admin_manual/installation/installation_wizard.html#data-directory-location) from `/var/www/html/data` to a Sidekick Container. *(If you don't change the location there is nothing else to do. In case you want to use another directory you have to update the volumes entry for the `nextcloud-data` service in `docker-compose.yml`.)*
|
||||||
|
|
||||||
|
3.) The last step is to update the [Database Settings](https://docs.nextcloud.com/server/12/admin_manual/installation/installation_wizard.html#database-choice) and switch from SQLite to MariaDB for better performance.
|
||||||
|
|
||||||
|
- Database: `YOUR-DATABASE` (default: `nextcloud`)
|
||||||
|
- MySQL Username: `YOUR-USER` (default: `nextcloud`)
|
||||||
|
- MySQL Password: `YOUR-PASSWORD`
|
||||||
|
- MySQL Hostname: `mariadb` (**Important:** Use `mariadb` instead of `localhost`)
|
||||||
|
|
||||||
|
Read more in the official [Nextcloud Documentation](https://docs.nextcloud.com/).
|
||||||
|
|
||||||
|
|
103
templates/nextcloud/catalogIcon-nextcloud.svg
Normal file
103
templates/nextcloud/catalogIcon-nextcloud.svg
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
version="1.1"
|
||||||
|
id="Layer_1"
|
||||||
|
x="0px"
|
||||||
|
y="0px"
|
||||||
|
viewBox="0 0 133.89203 94.627347"
|
||||||
|
enable-background="new 0 0 196.6 72"
|
||||||
|
xml:space="preserve"
|
||||||
|
inkscape:version="0.91 r13725"
|
||||||
|
sodipodi:docname="nextcloud-logo-white-transparent.svg"
|
||||||
|
width="133.89201"
|
||||||
|
height="94.62735"
|
||||||
|
inkscape:export-filename="nextcloud-logo-white-transparent.png"
|
||||||
|
inkscape:export-xdpi="300.09631"
|
||||||
|
inkscape:export-ydpi="300.09631"><metadata
|
||||||
|
id="metadata20"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||||
|
id="defs18" /><sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="2560"
|
||||||
|
inkscape:window-height="1359"
|
||||||
|
id="namedview16"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="4"
|
||||||
|
inkscape:cx="43.021274"
|
||||||
|
inkscape:cy="53.386932"
|
||||||
|
inkscape:current-layer="Layer_1"
|
||||||
|
fit-margin-top="10"
|
||||||
|
fit-margin-left="10"
|
||||||
|
fit-margin-right="10"
|
||||||
|
fit-margin-bottom="10"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="240"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
units="px"
|
||||||
|
inkscape:snap-bbox="true"
|
||||||
|
inkscape:bbox-paths="true"
|
||||||
|
inkscape:bbox-nodes="true"
|
||||||
|
inkscape:snap-bbox-edge-midpoints="true"
|
||||||
|
inkscape:snap-bbox-midpoints="true"
|
||||||
|
inkscape:snap-page="true" /><path
|
||||||
|
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#0082c9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5.56589985;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||||
|
d="m 67.032801,9.9999701 c -11.80525,0 -21.81118,8.0031799 -24.91235,18.8465899 -2.69524,-5.75151 -8.53592,-9.78093 -15.26337,-9.78093 -9.25183,0 -16.85708,7.60525 -16.85708,16.85708 0,9.25182 7.60525,16.86054 16.85708,16.86054 6.72745,0 12.56813,-4.03188 15.26337,-9.78439 3.10117,10.84422 13.1071,18.85006 24.91235,18.85006 11.71795,0 21.67286,-7.8851 24.85334,-18.60701 2.74505,5.62192 8.513439,9.54134 15.145329,9.54134 9.25183,0 16.86055,-7.60872 16.86055,-16.86054 0,-9.25183 -7.60872,-16.85708 -16.86055,-16.85708 -6.63189,0 -12.400279,3.91696 -15.145329,9.53788 C 88.705661,17.88243 78.750751,9.9999701 67.032801,9.9999701 Z m 0,9.8954999 c 8.91163,0 16.03073,7.11564 16.03073,16.02724 0,8.9116 -7.1191,16.03071 -16.03073,16.03071 -8.91158,0 -16.02722,-7.11911 -16.02722,-16.03071 0,-8.9116 7.11564,-16.02724 16.02722,-16.02724 z m -40.17572,9.06567 c 3.90437,0 6.96504,3.05718 6.96504,6.96157 0,3.90438 -3.06067,6.96504 -6.96504,6.96504 -3.90439,0 -6.96158,-3.06066 -6.96158,-6.96504 0,-3.90439 3.05719,-6.96157 6.96158,-6.96157 z m 80.174389,0 c 3.9044,0 6.96504,3.05718 6.96504,6.96157 0,3.90438 -3.06066,6.96504 -6.96504,6.96504 -3.90437,0 -6.96156,-3.06066 -6.96156,-6.96504 0,-3.90439 3.05721,-6.96157 6.96156,-6.96157 z"
|
||||||
|
id="XMLID_107_"
|
||||||
|
inkscape:connector-curvature="0" /><g
|
||||||
|
id="g4571"
|
||||||
|
transform="matrix(0.47038519,0,0,0.47038519,21.389201,50.75959)"
|
||||||
|
style="opacity:1;fill:#0082c9;fill-opacity:1"><path
|
||||||
|
id="XMLID_121_"
|
||||||
|
d="m 37.669669,48.9 c 5.9,0 9.2,4.2 9.2,10.5 0,0.6 -0.5,1.1 -1.1,1.1 l -15.9,0 c 0.1,5.6 4,8.8 8.5,8.8 2.8,0 4.8,-1.2 5.8,-2 0.6,-0.4 1.1,-0.3 1.4,0.3 l 0.3,0.5 c 0.3,0.5 0.2,1 -0.3,1.4 -1.2,0.9 -3.8,2.4 -7.3,2.4 -6.5,0 -11.5,-4.7 -11.5,-11.5 0.1,-7.2 4.9,-11.5 10.9,-11.5 z m 6.1,9.4 c -0.2,-4.6 -3,-6.9 -6.2,-6.9 -3.7,0 -6.9,2.4 -7.6,6.9 l 13.8,0 z"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#0082c9;fill-opacity:1" /><path
|
||||||
|
id="XMLID_119_"
|
||||||
|
d="m 76.9,52.1 0,-2.5 0,-5.2 c 0,-0.7 0.4,-1.1 1.1,-1.1 l 0.8,0 c 0.7,0 1,0.4 1,1.1 l 0,5.2 4.5,0 c 0.7,0 1.1,0.4 1.1,1.1 l 0,0.3 c 0,0.7 -0.4,1 -1.1,1 l -4.5,0 0,11 c 0,5.1 3.1,5.7 4.8,5.8 0.9,0.1 1.2,0.3 1.2,1.1 l 0,0.6 c 0,0.7 -0.3,1 -1.2,1 -4.8,0 -7.7,-2.9 -7.7,-8.1 l 0,-11.3 z"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#0082c9;fill-opacity:1" /><path
|
||||||
|
id="XMLID_117_"
|
||||||
|
d="m 99.8,48.9 c 3.8,0 6.2,1.6 7.3,2.5 0.5,0.4 0.6,0.9 0.1,1.5 l -0.3,0.5 c -0.4,0.6 -0.9,0.6 -1.5,0.2 -1,-0.7 -2.9,-2 -5.5,-2 -4.8,0 -8.6,3.6 -8.6,8.9 0,5.2 3.8,8.8 8.6,8.8 3.1,0 5.2,-1.4 6.2,-2.3 0.6,-0.4 1,-0.3 1.4,0.3 l 0.3,0.4 c 0.3,0.6 0.2,1 -0.3,1.5 -1.1,0.9 -3.8,2.8 -7.8,2.8 -6.5,0 -11.5,-4.7 -11.5,-11.5 0.1,-6.8 5.1,-11.6 11.6,-11.6 z"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#0082c9;fill-opacity:1" /><path
|
||||||
|
id="XMLID_115_"
|
||||||
|
d="m 113.1,41.8 c 0,-0.7 -0.4,-1.1 0.3,-1.1 l 0.8,0 c 0.7,0 1.8,0.4 1.8,1.1 l 0,23.9 c 0,2.8 1.3,3.1 2.3,3.2 0.5,0 0.9,0.3 0.9,1 l 0,0.7 c 0,0.7 -0.3,1.1 -1.1,1.1 -1.8,0 -5,-0.6 -5,-5.4 l 0,-24.5 z"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#0082c9;fill-opacity:1" /><path
|
||||||
|
id="XMLID_112_"
|
||||||
|
d="m 133.6,48.9 c 6.4,0 11.6,4.9 11.6,11.4 0,6.6 -5.2,11.6 -11.6,11.6 -6.4,0 -11.6,-5 -11.6,-11.6 0,-6.5 5.2,-11.4 11.6,-11.4 z m 0,20.4 c 4.7,0 8.5,-3.8 8.5,-9 0,-5 -3.8,-8.7 -8.5,-8.7 -4.7,0 -8.6,3.8 -8.6,8.7 0.1,5.1 3.9,9 8.6,9 z"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#0082c9;fill-opacity:1" /><path
|
||||||
|
id="XMLID_109_"
|
||||||
|
d="m 183.5,48.9 c 5.3,0 7.2,4.4 7.2,4.4 l 0.1,0 c 0,0 -0.1,-0.7 -0.1,-1.7 l 0,-9.9 c 0,-0.7 -0.3,-1.1 0.4,-1.1 l 0.8,0 c 0.7,0 1.8,0.4 1.8,1.1 l 0,28.5 c 0,0.7 -0.3,1.1 -1,1.1 l -0.7,0 c -0.7,0 -1.1,-0.3 -1.1,-1 l 0,-1.7 c 0,-0.8 0.2,-1.4 0.2,-1.4 l -0.1,0 c 0,0 -1.9,4.6 -7.6,4.6 -5.9,0 -9.6,-4.7 -9.6,-11.5 -0.2,-6.8 3.9,-11.4 9.7,-11.4 z m 0.1,20.4 c 3.7,0 7.1,-2.6 7.1,-8.9 0,-4.5 -2.3,-8.8 -7,-8.8 -3.9,0 -7.1,3.2 -7.1,8.8 0.1,5.4 2.9,8.9 7,8.9 z"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#0082c9;fill-opacity:1" /><path
|
||||||
|
sodipodi:nodetypes="ssssssssssscccccsss"
|
||||||
|
style="fill:#0082c9;fill-opacity:1"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
d="m 1,71.4 0.8,0 c 0.7,0 1.1,-0.4 1.1,-1.1 l 0,-21.472335 C 2.9,45.427665 6.6,43 10.8,43 c 4.2,0 7.9,2.427665 7.9,5.827665 L 18.7,70.3 c 0,0.7 0.4,1.1 1.1,1.1 l 0.8,0 c 0.7,0 1,-0.4 1,-1.1 l 0,-21.6 c 0,-5.7 -5.7,-8.5 -10.9,-8.5 l 0,0 0,0 0,0 0,0 C 5.7,40.2 0,43 0,48.7 l 0,21.6 c 0,0.7 0.3,1.1 1,1.1 z"
|
||||||
|
id="XMLID_103_" /><path
|
||||||
|
style="fill:#0082c9;fill-opacity:1"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
d="m 167.9,49.4 -0.8,0 c -0.7,0 -1.1,0.4 -1.1,1.1 l 0,12.1 c 0,3.4 -2.2,6.5 -6.5,6.5 -4.2,0 -6.5,-3.1 -6.5,-6.5 l 0,-12.1 c 0,-0.7 -0.4,-1.1 -1.1,-1.1 l -0.8,0 c -0.7,0 -1,0.4 -1,1.1 l 0,12.9 c 0,5.7 4.2,8.5 9.4,8.5 l 0,0 c 0,0 0,0 0,0 0,0 0,0 0,0 l 0,0 c 5.2,0 9.4,-2.8 9.4,-8.5 l 0,-12.9 c 0.1,-0.7 -0.3,-1.1 -1,-1.1 z"
|
||||||
|
id="XMLID_102_" /><path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path4165-9"
|
||||||
|
d="m 68.908203,49.235938 c -0.244942,0.0391 -0.480102,0.202589 -0.705078,0.470703 l -4.046875,4.824218 -3.029297,3.609375 -4.585937,-5.466796 -2.488282,-2.966797 c -0.224975,-0.268116 -0.479748,-0.414718 -0.74414,-0.4375 -0.264393,-0.02278 -0.538524,0.07775 -0.806641,0.302734 l -0.613281,0.513672 c -0.536232,0.449952 -0.508545,0.948144 -0.05859,1.484375 l 4.048828,4.824219 3.357422,4 -4.916016,5.857421 c -0.0037,0.0044 -0.0061,0.0093 -0.0098,0.01367 l -2.480469,2.955078 c -0.449952,0.536232 -0.399531,1.100832 0.136719,1.550782 l 0.613281,0.511718 c 0.536231,0.449951 1.022704,0.33701 1.472656,-0.199218 l 4.046875,-4.824219 3.029297,-3.609375 4.585938,5.466797 c 0.003,0.0036 0.0067,0.0062 0.0098,0.0098 l 2.480469,2.957032 c 0.44995,0.536231 1.012595,0.584735 1.548828,0.134765 l 0.613282,-0.513671 c 0.536231,-0.449952 0.508544,-0.948144 0.05859,-1.484376 l -4.048828,-4.824218 -3.357422,-4 4.916016,-5.857422 c 0.0037,-0.0044 0.0061,-0.0093 0.0098,-0.01367 l 2.480469,-2.955078 c 0.449952,-0.53623 0.399532,-1.10083 -0.136719,-1.550781 l -0.613281,-0.513672 c -0.268115,-0.224976 -0.522636,-0.308636 -0.767578,-0.269531 z"
|
||||||
|
style="fill:#0082c9;fill-opacity:1" /></g></svg>
|
After Width: | Height: | Size: 9.1 KiB |
6
templates/nextcloud/config.yml
Normal file
6
templates/nextcloud/config.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
name: Nextcloud
|
||||||
|
description: Enterprise File Sync and Share
|
||||||
|
version: 13.0.2
|
||||||
|
category: File Synchronisation
|
||||||
|
projectURL: none
|
||||||
|
|
@ -1,82 +0,0 @@
|
|||||||
version: '2'
|
|
||||||
services:
|
|
||||||
mariadb:
|
|
||||||
image: 'mariadb'
|
|
||||||
volumes:
|
|
||||||
- 'mariadb_data:/var/lib/mysql'
|
|
||||||
environment:
|
|
||||||
- MYSQL_ROOT_PASSWORD=${mariadb_root_password}
|
|
||||||
- MYSQL_USER=${mariadb_user}
|
|
||||||
- MYSQL_PASSWORD=${mariadb_user_password}
|
|
||||||
- MYSQL_DATABASE=wordpress
|
|
||||||
|
|
||||||
wordpress:
|
|
||||||
image: 'wordpress:4.5.1'
|
|
||||||
volumes:
|
|
||||||
- 'wordpress_data:/var/www/html'
|
|
||||||
depends_on:
|
|
||||||
- mariadb
|
|
||||||
links:
|
|
||||||
- mariadb:mariadb
|
|
||||||
environment:
|
|
||||||
- WORDPRESS_DB_HOST=mariadb
|
|
||||||
- WORDPRESS_DB_USER=${mariadb_user}
|
|
||||||
- WORDPRESS_DB_PASSWORD=${mariadb_user_password}
|
|
||||||
- WORDPRESS_USERNAME=${wordpress_username}
|
|
||||||
- WORDPRESS_PASSWORD=${wordpress_password}
|
|
||||||
labels:
|
|
||||||
io.rancher.container.hostname_override: container_name
|
|
||||||
service: https
|
|
||||||
|
|
||||||
redirect-https:
|
|
||||||
image: hoffmannhosting/docker-nginx-https-redirect
|
|
||||||
labels:
|
|
||||||
io.rancher.container.hostname_override: container_name
|
|
||||||
service: http
|
|
||||||
|
|
||||||
letsencrypt:
|
|
||||||
image: janeczku/rancher-letsencrypt:v0.5.0
|
|
||||||
environment:
|
|
||||||
API_VERSION: Production
|
|
||||||
AWS_ACCESS_KEY: ''
|
|
||||||
AWS_SECRET_KEY: ''
|
|
||||||
AZURE_CLIENT_ID: ''
|
|
||||||
AZURE_CLIENT_SECRET: ''
|
|
||||||
AZURE_RESOURCE_GROUP: ''
|
|
||||||
AZURE_SUBSCRIPTION_ID: ''
|
|
||||||
AZURE_TENANT_ID: ''
|
|
||||||
CERT_NAME: ${DOMAIN}
|
|
||||||
CLOUDFLARE_EMAIL: ''
|
|
||||||
CLOUDFLARE_KEY: ''
|
|
||||||
DNSIMPLE_EMAIL: ''
|
|
||||||
DNSIMPLE_KEY: ''
|
|
||||||
DNS_RESOLVERS: 8.8.8.8:53,8.8.4.4:53
|
|
||||||
DOMAINS: ${DOMAIN}
|
|
||||||
DO_ACCESS_TOKEN: ''
|
|
||||||
DYN_CUSTOMER_NAME: ''
|
|
||||||
DYN_PASSWORD: ''
|
|
||||||
DYN_USER_NAME: ''
|
|
||||||
EMAIL: s.hoffmann@hoffmann-hosting.de
|
|
||||||
EULA: 'Yes'
|
|
||||||
GANDI_API_KEY: ''
|
|
||||||
OVH_APPLICATION_KEY: ''
|
|
||||||
OVH_APPLICATION_SECRET: ''
|
|
||||||
OVH_CONSUMER_KEY: ''
|
|
||||||
PROVIDER: HTTP
|
|
||||||
PUBLIC_KEY_TYPE: RSA-2048
|
|
||||||
RENEWAL_PERIOD_DAYS: '20'
|
|
||||||
RENEWAL_TIME: '12'
|
|
||||||
VULTR_API_KEY: ''
|
|
||||||
volumes:
|
|
||||||
- /var/lib/rancher:/var/lib/rancher
|
|
||||||
- zertifikate:/etc/letsencrypt
|
|
||||||
labels:
|
|
||||||
io.rancher.container.agent.role: environment
|
|
||||||
io.rancher.container.create_agent: 'true'
|
|
||||||
service: letsencrypt
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
mariadb_data:
|
|
||||||
driver: ${volume_driver}
|
|
||||||
wordpress_data:
|
|
||||||
driver: ${volume_driver}
|
|
@ -1,85 +0,0 @@
|
|||||||
version: '2'
|
|
||||||
catalog:
|
|
||||||
name: "WordPress"
|
|
||||||
version: "4.5.1"
|
|
||||||
description: "Blog tool, publishing platform and CMS based on bitnami images"
|
|
||||||
questions:
|
|
||||||
- variable: DOMAIN
|
|
||||||
description: "Wordpress Domain"
|
|
||||||
label: "Wordpress Domain"
|
|
||||||
required: true
|
|
||||||
default: "test.de"
|
|
||||||
type: "string"
|
|
||||||
- variable: mariadb_root_password
|
|
||||||
description: "MariaDB root password, set on first run"
|
|
||||||
label: "MariaDB Root Password"
|
|
||||||
required: true
|
|
||||||
default: "mariadb_my_root"
|
|
||||||
type: "password"
|
|
||||||
- variable: mariadb_user
|
|
||||||
description: "MariaDB database user, created on first run"
|
|
||||||
label: "MariaDB Database User"
|
|
||||||
required: true
|
|
||||||
default: "wordpress"
|
|
||||||
type: "string"
|
|
||||||
- variable: mariadb_user_password
|
|
||||||
description: "MariaDB database user password, set on first run"
|
|
||||||
label: "MariaDB Database User Password"
|
|
||||||
required: true
|
|
||||||
default: "wordpress_password"
|
|
||||||
type: "password"
|
|
||||||
- variable: mariadb_database_name
|
|
||||||
description: "WordPress database name"
|
|
||||||
label: "WordPress database name"
|
|
||||||
required: true
|
|
||||||
default: "wordpress"
|
|
||||||
type: "string"
|
|
||||||
- variable: wordpress_username
|
|
||||||
description: "WordPress application username"
|
|
||||||
label: "WordPress application username"
|
|
||||||
required: true
|
|
||||||
default: "admin"
|
|
||||||
type: "string"
|
|
||||||
- variable: wordpress_password
|
|
||||||
description: "WordPress application password"
|
|
||||||
label: "WordPress application password"
|
|
||||||
required: true
|
|
||||||
default: "bitnami"
|
|
||||||
type: "password"
|
|
||||||
- variable: volume_driver
|
|
||||||
description: "Volume driver to use with this service"
|
|
||||||
label: "Volume driver"
|
|
||||||
required: true
|
|
||||||
default: "rancher-nfs"
|
|
||||||
type: enum
|
|
||||||
options:
|
|
||||||
- local
|
|
||||||
- rancher-nfs
|
|
||||||
services:
|
|
||||||
wordpress:
|
|
||||||
scale: 1
|
|
||||||
start_on_create: true
|
|
||||||
lb_config:
|
|
||||||
port_rules:
|
|
||||||
- target_port: 80
|
|
||||||
hostname: ${DOMAIN}
|
|
||||||
|
|
||||||
mariadb:
|
|
||||||
scale: 1
|
|
||||||
start_on_create: true
|
|
||||||
|
|
||||||
redirect-https:
|
|
||||||
scale: 1
|
|
||||||
start_on_create: true
|
|
||||||
lb_config:
|
|
||||||
port_rules:
|
|
||||||
- target_port: 80
|
|
||||||
hostname: ${DOMAIN}
|
|
||||||
|
|
||||||
letsencrypt:
|
|
||||||
scale: 1
|
|
||||||
start_on_create: true
|
|
||||||
lb_config:
|
|
||||||
port_rules:
|
|
||||||
- target_port: 80
|
|
||||||
hostname: ${DOMAIN}
|
|
@ -1,82 +0,0 @@
|
|||||||
version: '2'
|
|
||||||
services:
|
|
||||||
mariadb:
|
|
||||||
image: 'mariadb'
|
|
||||||
volumes:
|
|
||||||
- 'mariadb_data:/var/lib/mysql'
|
|
||||||
environment:
|
|
||||||
- MYSQL_ROOT_PASSWORD=${mariadb_root_password}
|
|
||||||
- MYSQL_USER=${mariadb_user}
|
|
||||||
- MYSQL_PASSWORD=${mariadb_user_password}
|
|
||||||
- MYSQL_DATABASE=wordpress
|
|
||||||
|
|
||||||
wordpress:
|
|
||||||
image: 'wordpress:4.9.5'
|
|
||||||
volumes:
|
|
||||||
- 'wordpress_data:/var/www/html'
|
|
||||||
depends_on:
|
|
||||||
- mariadb
|
|
||||||
links:
|
|
||||||
- mariadb:mariadb
|
|
||||||
environment:
|
|
||||||
- WORDPRESS_DB_HOST=mariadb
|
|
||||||
- WORDPRESS_DB_USER=${mariadb_user}
|
|
||||||
- WORDPRESS_DB_PASSWORD=${mariadb_user_password}
|
|
||||||
- WORDPRESS_USERNAME=${wordpress_username}
|
|
||||||
- WORDPRESS_PASSWORD=${wordpress_password}
|
|
||||||
labels:
|
|
||||||
io.rancher.container.hostname_override: container_name
|
|
||||||
service: https
|
|
||||||
|
|
||||||
redirect-https:
|
|
||||||
image: hoffmannhosting/docker-nginx-https-redirect
|
|
||||||
labels:
|
|
||||||
io.rancher.container.hostname_override: container_name
|
|
||||||
service: http
|
|
||||||
|
|
||||||
letsencrypt:
|
|
||||||
image: janeczku/rancher-letsencrypt:v0.5.0
|
|
||||||
environment:
|
|
||||||
API_VERSION: Production
|
|
||||||
AWS_ACCESS_KEY: ''
|
|
||||||
AWS_SECRET_KEY: ''
|
|
||||||
AZURE_CLIENT_ID: ''
|
|
||||||
AZURE_CLIENT_SECRET: ''
|
|
||||||
AZURE_RESOURCE_GROUP: ''
|
|
||||||
AZURE_SUBSCRIPTION_ID: ''
|
|
||||||
AZURE_TENANT_ID: ''
|
|
||||||
CERT_NAME: ${DOMAIN}
|
|
||||||
CLOUDFLARE_EMAIL: ''
|
|
||||||
CLOUDFLARE_KEY: ''
|
|
||||||
DNSIMPLE_EMAIL: ''
|
|
||||||
DNSIMPLE_KEY: ''
|
|
||||||
DNS_RESOLVERS: 8.8.8.8:53,8.8.4.4:53
|
|
||||||
DOMAINS: ${DOMAIN}
|
|
||||||
DO_ACCESS_TOKEN: ''
|
|
||||||
DYN_CUSTOMER_NAME: ''
|
|
||||||
DYN_PASSWORD: ''
|
|
||||||
DYN_USER_NAME: ''
|
|
||||||
EMAIL: s.hoffmann@hoffmann-hosting.de
|
|
||||||
EULA: 'Yes'
|
|
||||||
GANDI_API_KEY: ''
|
|
||||||
OVH_APPLICATION_KEY: ''
|
|
||||||
OVH_APPLICATION_SECRET: ''
|
|
||||||
OVH_CONSUMER_KEY: ''
|
|
||||||
PROVIDER: HTTP
|
|
||||||
PUBLIC_KEY_TYPE: RSA-2048
|
|
||||||
RENEWAL_PERIOD_DAYS: '20'
|
|
||||||
RENEWAL_TIME: '12'
|
|
||||||
VULTR_API_KEY: ''
|
|
||||||
volumes:
|
|
||||||
- /var/lib/rancher:/var/lib/rancher
|
|
||||||
- zertifikate:/etc/letsencrypt
|
|
||||||
labels:
|
|
||||||
io.rancher.container.agent.role: environment
|
|
||||||
io.rancher.container.create_agent: 'true'
|
|
||||||
service: letsencrypt
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
mariadb_data:
|
|
||||||
driver: ${volume_driver}
|
|
||||||
wordpress_data:
|
|
||||||
driver: ${volume_driver}
|
|
@ -1,87 +0,0 @@
|
|||||||
version: '2'
|
|
||||||
catalog:
|
|
||||||
name: "WordPress"
|
|
||||||
version: "4.9.5"
|
|
||||||
description: "Blog tool, publishing platform and CMS based on bitnami images"
|
|
||||||
questions:
|
|
||||||
- variable: DOMAIN
|
|
||||||
description: "Wordpress Domain"
|
|
||||||
label: "Wordpress Domain"
|
|
||||||
required: true
|
|
||||||
default: "test.de"
|
|
||||||
type: "string"
|
|
||||||
- variable: mariadb_root_password
|
|
||||||
description: "MariaDB root password, set on first run"
|
|
||||||
label: "MariaDB Root Password"
|
|
||||||
required: true
|
|
||||||
default: "mariadb_my_root"
|
|
||||||
type: "password"
|
|
||||||
- variable: mariadb_user
|
|
||||||
description: "MariaDB database user, created on first run"
|
|
||||||
label: "MariaDB Database User"
|
|
||||||
required: true
|
|
||||||
default: "wordpress"
|
|
||||||
type: "string"
|
|
||||||
- variable: mariadb_user_password
|
|
||||||
description: "MariaDB database user password, set on first run"
|
|
||||||
label: "MariaDB Database User Password"
|
|
||||||
required: true
|
|
||||||
default: "wordpress_password"
|
|
||||||
type: "password"
|
|
||||||
- variable: mariadb_database_name
|
|
||||||
description: "WordPress database name"
|
|
||||||
label: "WordPress database name"
|
|
||||||
required: true
|
|
||||||
default: "wordpress"
|
|
||||||
type: "string"
|
|
||||||
- variable: wordpress_username
|
|
||||||
description: "WordPress application username"
|
|
||||||
label: "WordPress application username"
|
|
||||||
required: true
|
|
||||||
default: "admin"
|
|
||||||
type: "string"
|
|
||||||
- variable: wordpress_password
|
|
||||||
description: "WordPress application password"
|
|
||||||
label: "WordPress application password"
|
|
||||||
required: true
|
|
||||||
default: "bitnami"
|
|
||||||
type: "password"
|
|
||||||
- variable: volume_driver
|
|
||||||
description: "Volume driver to use with this service"
|
|
||||||
label: "Volume driver"
|
|
||||||
required: true
|
|
||||||
default: "rancher-nfs"
|
|
||||||
type: enum
|
|
||||||
options:
|
|
||||||
- local
|
|
||||||
- rancher-nfs
|
|
||||||
services:
|
|
||||||
wordpress:
|
|
||||||
scale: 1
|
|
||||||
start_on_create: true
|
|
||||||
lb_config:
|
|
||||||
port_rules:
|
|
||||||
- target_port: 80
|
|
||||||
hostname: ${DOMAIN}
|
|
||||||
certs:
|
|
||||||
- ${DOMAIN}
|
|
||||||
|
|
||||||
mariadb:
|
|
||||||
scale: 1
|
|
||||||
start_on_create: true
|
|
||||||
|
|
||||||
redirect-https:
|
|
||||||
scale: 1
|
|
||||||
start_on_create: true
|
|
||||||
lb_config:
|
|
||||||
port_rules:
|
|
||||||
- target_port: 80
|
|
||||||
hostname: ${DOMAIN}
|
|
||||||
|
|
||||||
letsencrypt:
|
|
||||||
scale: 1
|
|
||||||
start_on_create: true
|
|
||||||
lb_config:
|
|
||||||
port_rules:
|
|
||||||
- target_port: 80
|
|
||||||
hostname: ${DOMAIN}
|
|
@ -1,12 +0,0 @@
|
|||||||
## What is inside WordPress Stack?
|
|
||||||
* MariaDB Database
|
|
||||||
* WordPress (php/apache)
|
|
||||||
* Rancher Load Balancer (haproxy)
|
|
||||||
|
|
||||||
## Info
|
|
||||||
* To persist website and database data, two volumes are created: mariadb_data, wordpress_data.
|
|
||||||
* You can choose from one of existing rancher volume types depending on your own environment.
|
|
||||||
|
|
||||||
## Compatibility Notes
|
|
||||||
|
|
||||||
* Version v0.2-bitnami has some known [issue](https://github.com/bitnami/bitnami-docker-testlink/issues/17#issuecomment-261783035) with Docker overlay and overlay2 storage driver. Please try to switch to aufs or devicemapper.
|
|
@ -1,21 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
||||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
||||||
viewBox="-241 323.5 122.5 122.5" enable-background="new -241 323.5 122.5 122.5" xml:space="preserve">
|
|
||||||
<g id="Layer_1_1_">
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<path fill="#464342" d="M-232.3,384.7c0,20.8,12.1,38.8,29.6,47.3l-25.1-68.7C-230.7,369.9-232.3,377.1-232.3,384.7z"/>
|
|
||||||
<path fill="#464342" d="M-144.3,382.1c0-6.5-2.3-11-4.3-14.5c-2.7-4.3-5.2-8-5.2-12.3c0-4.8,3.7-9.3,8.8-9.3c0.2,0,0.5,0,0.7,0
|
|
||||||
c-9.3-8.6-21.8-13.8-35.5-13.8c-18.4,0-34.5,9.4-43.9,23.7c1.2,0,2.4,0.1,3.4,0.1c5.5,0,14-0.7,14-0.7c2.8-0.2,3.2,4,0.3,4.3
|
|
||||||
c0,0-2.8,0.3-6,0.5l19.1,56.9l11.5-34.5l-8.2-22.4c-2.8-0.2-5.5-0.5-5.5-0.5c-2.8-0.2-2.5-4.5,0.3-4.3c0,0,8.7,0.7,13.8,0.7
|
|
||||||
c5.5,0,14-0.7,14-0.7c2.8-0.2,3.2,4,0.3,4.3c0,0-2.9,0.3-6,0.5l19,56.5l5.2-17.5C-146,391.8-144.3,386.6-144.3,382.1z"/>
|
|
||||||
<path fill="#464342" d="M-178.8,389.3l-15.8,45.8c4.7,1.4,9.7,2.1,14.8,2.1c6.1,0,12-1.1,17.5-3c-0.1-0.2-0.3-0.5-0.4-0.7
|
|
||||||
L-178.8,389.3z"/>
|
|
||||||
<path fill="#464342" d="M-133.6,359.5c0.2,1.7,0.4,3.5,0.4,5.4c0,5.3-1,11.3-4,18.8l-16.1,46.4c15.6-9.1,26.1-26,26.1-45.4
|
|
||||||
C-127.2,375.6-129.5,367-133.6,359.5z"/>
|
|
||||||
<path fill="#464342" d="M-179.7,323.5c-33.8,0-61.3,27.5-61.3,61.3c0,33.8,27.5,61.3,61.3,61.3c33.8,0,61.3-27.5,61.3-61.3
|
|
||||||
C-118.5,351-146,323.5-179.7,323.5z M-179.7,443.2c-32.2,0-58.5-26.2-58.5-58.5c0-32.2,26.2-58.5,58.5-58.5
|
|
||||||
c32.2,0,58.5,26.2,58.5,58.5C-121.3,417-147.5,443.2-179.7,443.2z"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.6 KiB |
@ -1,5 +0,0 @@
|
|||||||
name: WordPress
|
|
||||||
description: |
|
|
||||||
Blog tool, publishing platform and CMS
|
|
||||||
version: 4.9.5
|
|
||||||
category: Blogging
|
|
Loading…
Reference in New Issue
Block a user