FFRS-Webseite

This commit is contained in:
stebifan 2018-06-23 17:04:41 +02:00
parent c8410f0530
commit e01dca609d
5 changed files with 135 additions and 0 deletions

View File

@ -0,0 +1,67 @@
version: '2'
services:
website:
build: https://github.com/Freifunk-Rhein-Sieg/freifunk-rhein-sieg.net.git
volumes:
- web:/project
labels:
io.rancher.container.hostname_override: container_name
io.rancher.container.pull_image: always
https: yes
redirect-https:
image: hoffmannhosting/docker-nginx-https-redirect
labels:
io.rancher.container.hostname_override: container_name
http: yes
depends_on:
- website
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:
web:
driver: rancher-nfs
zertifikate:
driver: local

View File

@ -0,0 +1,40 @@
version: '2'
catalog:
name: ffrs-website
version: 1
description: Freifunk Rhein Sieg Webseite
questions:
- variable: DOMAIN
default: freifunk-rhein-sieg.net
label: Domain
required: true
type: string
services:
website:
scale: 1
start_on_create: true
lb_config:
port_rules:
- target_port: 80
hostname: ${DOMAIN}
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}

View 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/).

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

View File

@ -0,0 +1,6 @@
name: FFRS - Webseite
description: Freifunk Rhein Sieg Webseite
version: 1
category: Web
projectURL: https://github.com/Freifunk-Rhein-Sieg/freifunk-rhein-sieg.net