diff --git a/templates/maptiles/0/docker-compose.yml b/templates/maptiles/0/docker-compose.yml new file mode 100644 index 0000000..b2f3bfa --- /dev/null +++ b/templates/maptiles/0/docker-compose.yml @@ -0,0 +1,18 @@ +version: '2' + +services: + + maptiles: + image: klokantech/openmaptiles-server + volumes: + - tiles:/data + labels: + io.rancher.container.hostname_override: container_name + io.rancher.container.pull_image: always + rap.host: ${DOMAIN} + rap.le_host: ${DOMAIN} + rap.port: 8080 + +volumes: + tiles: + driver: local \ No newline at end of file diff --git a/templates/maptiles/0/rancher-compose.yml b/templates/maptiles/0/rancher-compose.yml new file mode 100644 index 0000000..42bad9f --- /dev/null +++ b/templates/maptiles/0/rancher-compose.yml @@ -0,0 +1,20 @@ +version: '2' + +catalog: + + name: openmaptiles + version: 1 + description: Freifunk Rhein Sieg Tile Server + questions: + - variable: DOMAIN + default: tiles.freifunk-rhein-sieg.net + label: Domain + required: true + type: string + + +services: + + maptiles: + scale: 1 + start_on_create: true \ No newline at end of file diff --git a/templates/maptiles/README.md b/templates/maptiles/README.md new file mode 100644 index 0000000..6581bd8 --- /dev/null +++ b/templates/maptiles/README.md @@ -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/). + + diff --git a/templates/maptiles/catalogIcon-nffrs.png b/templates/maptiles/catalogIcon-nffrs.png new file mode 100644 index 0000000..e6f8280 Binary files /dev/null and b/templates/maptiles/catalogIcon-nffrs.png differ diff --git a/templates/maptiles/config.yml b/templates/maptiles/config.yml new file mode 100644 index 0000000..5592807 --- /dev/null +++ b/templates/maptiles/config.yml @@ -0,0 +1,6 @@ +name: Maptiles Server +description: Freifunk Rhein Sieg Maptiles +version: 1 +category: Web +projectURL: https://github.com/Freifunk-Rhein-Sieg/freifunk-rhein-sieg.net +