diff --git a/templates/dokuwiki/0/README.md b/templates/dokuwiki/0/README.md new file mode 100644 index 0000000..6c8f92b --- /dev/null +++ b/templates/dokuwiki/0/README.md @@ -0,0 +1,17 @@ +# DokuWiki + +DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database. + +## Version +The Stack is based on DokuWiki Version 2016-06-26a "Elenor of Tsort" + +Check out the underlying dockerfile here: https://hub.docker.com/r/ununseptium/dokuwiki-docker + +## Setup +To initialize the dokuwiki you have to run the install.php script. The url scheme to get to the install script would be: + +`http(s)://dockerhostip:exposedport/install.php` + +If you want to use the dokuwiki in production please remove the install.php before doing so: + +`docker exec {containeridentifier} rm /var/www/html/install.php` diff --git a/templates/dokuwiki/0/docker-compose.yml b/templates/dokuwiki/0/docker-compose.yml new file mode 100644 index 0000000..0031171 --- /dev/null +++ b/templates/dokuwiki/0/docker-compose.yml @@ -0,0 +1,20 @@ +dokuwiki-server: + ports: + - ${http_port}:80/tcp + labels: + io.rancher.sidekicks: dokuwiki-data + hostname: ${dokuwiki_hostname} + image: ununseptium/dokuwiki-docker + volumes_from: + - dokuwiki-data + +dokuwiki-data: + labels: + io.rancher.container.start_once: 'true' + entrypoint: + - /bin/true + hostname: dokuwikidata + image: ununseptium/dokuwiki-docker + volumes: + - /var/www/html/data + - /var/www/html/lib/plugins diff --git a/templates/dokuwiki/0/rancher-compose.yml b/templates/dokuwiki/0/rancher-compose.yml new file mode 100644 index 0000000..15a0e68 --- /dev/null +++ b/templates/dokuwiki/0/rancher-compose.yml @@ -0,0 +1,36 @@ +.catalog: + name: Dokuwiki + version: 2016-06-26a + description: | + DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database. + minimum_rancher_version: v0.56.0 + maintainer: "Tim Kopplow " + uuid: dokuwiki-0 + questions: + - variable: "dokuwiki_hostname" + description: "Dokuwiki hostname" + label: "Hostname:" + required: true + default: "dw.example.com" + type: "string" + - variable: "http_port" + description: "HTTP port to expose on host. Will be used to bind TCP" + label: "HTTP port:" + required: true + default: 80 + type: "string" + +dokuwiki-server: + scale: 1 + retain_ip: true + health_check: + port: 80 + interval: 30000 + unhealthy_threshold: 3 + strategy: recreate + response_timeout: 2000 + healthy_threshold: 2 + +dokuwiki-data: + scale: 1 + retain_ip: true diff --git a/templates/dokuwiki/catalogIcon-dokuwiki.svg b/templates/dokuwiki/catalogIcon-dokuwiki.svg new file mode 100644 index 0000000..cbee241 --- /dev/null +++ b/templates/dokuwiki/catalogIcon-dokuwiki.svg @@ -0,0 +1,553 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/dokuwiki/config.yml b/templates/dokuwiki/config.yml new file mode 100644 index 0000000..df4d06f --- /dev/null +++ b/templates/dokuwiki/config.yml @@ -0,0 +1,5 @@ +name: DokuWiki +description: | + DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database. +version: 2016-06-26a +category: Wiki