Added dokuwiki stack (#364)

This commit is contained in:
Tim
2016-12-19 22:06:25 +01:00
committed by Hussein Galal
parent e9a9ffd092
commit 6be0c6e88f
5 changed files with 631 additions and 0 deletions
+17
View File
@@ -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`
+20
View File
@@ -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
+36
View File
@@ -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 <tim@arctium.io>"
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