All Projects → istepanov → Docker Dokuwiki

istepanov / Docker Dokuwiki

Licence: mit
Docker container image with dokuwiki and nginx

Labels

Projects that are alternatives of or similar to Docker Dokuwiki

Docker Vue Node Nginx Mongodb Redis
🐉 An awesome boilerplate, Integrated Docker, Vue, Node, Nginx, Mongodb and Redis in one, Designed to develop & build your web applications more efficient and elegant.
Stars: ✭ 34 (-30.61%)
Mutual labels:  nginx
Docker Skeleton Php
A simple Docker PHP development environment
Stars: ✭ 40 (-18.37%)
Mutual labels:  nginx
Docker Debian Nginx Phpfpm Mysql
基于docker的快速,轻量级nginx+mysql+php+elasticsearch环境
Stars: ✭ 45 (-8.16%)
Mutual labels:  nginx
Linux Tutorial
《Java 程序员眼中的 Linux》
Stars: ✭ 7,757 (+15730.61%)
Mutual labels:  nginx
Magento2 Varnish Redis Ssl Docker Compose
Deploy Magento2 with Varnish Cache and Redis with SSL termination using Docker-compose tool
Stars: ✭ 37 (-24.49%)
Mutual labels:  nginx
Drupal Nginx Php Kubernetes
Demonstration of a set of NGINX and PHP-FPM containers running Drupal deployed to Kubernetes on the IBM Container Service. This is a work in progress.
Stars: ✭ 43 (-12.24%)
Mutual labels:  nginx
Notes
📝 Migrated to(迁移至) https://github.com/Kuangcp/Note 当前仓库已经废弃, 对应的博客网站:
Stars: ✭ 33 (-32.65%)
Mutual labels:  nginx
Pi Camera In A Box
Stream your Raspberry Pi Camera Module directly to your web browser
Stars: ✭ 49 (+0%)
Mutual labels:  nginx
Chef Nginx
Chef Nginx recipes
Stars: ✭ 37 (-24.49%)
Mutual labels:  nginx
Rtinst
seedbox installation script for Ubuntu and Debian systems
Stars: ✭ 1,029 (+2000%)
Mutual labels:  nginx
Node Production
Take Your Node.js Project to The Production Environment (VPS/Dedicated Server).
Stars: ✭ 35 (-28.57%)
Mutual labels:  nginx
Antvueblogfront
🔥使用Vue全家桶 + Egg + Mongodb 写的个人网站博客。使用docker compose 一键部署。(最近比较忙,部署还有点问题,后期补上)
Stars: ✭ 36 (-26.53%)
Mutual labels:  nginx
Droxy
a transparent standalone http reverse proxy for docker containers
Stars: ✭ 43 (-12.24%)
Mutual labels:  nginx
Docs4dev
后端开发常用框架文档及中文翻译,包含 Spring 系列文档(Spring, Spring Boot, Spring Cloud, Spring Security, Spring Session),大数据(Apache Hive, HBase, Apache Flume),日志(Log4j2, Logback),Http Server(NGINX,Apache),Python,数据库(OpenTSDB,MySQL,PostgreSQL)等最新官方文档以及对应的中文翻译。
Stars: ✭ 974 (+1887.76%)
Mutual labels:  nginx
Docker Nginx Letsencrypt Upstream
infrastructure: docker-compose config for node and redis behind upstream nginx ( SSL/HTTPS ) on debian jessie
Stars: ✭ 47 (-4.08%)
Mutual labels:  nginx
K8s Helm Helmfile
Project which compares 3 approaches to deploy apps on Kubernetes cluster (using kubectl, helm & helmfile)
Stars: ✭ 34 (-30.61%)
Mutual labels:  nginx
Docker Flarum
Flarum Docker image based on Alpine Linux
Stars: ✭ 43 (-12.24%)
Mutual labels:  nginx
Docker Php7
Compose Docker with PHP7,FPM,MariaDB and Nginx
Stars: ✭ 49 (+0%)
Mutual labels:  nginx
Ansible Config encoder filters
Ansible role used to deliver the Config Encoder Filters.
Stars: ✭ 48 (-2.04%)
Mutual labels:  nginx
Phalcon Vm
Vagrant configuration for PHP7, Phalcon 3.x and Zephir development.
Stars: ✭ 43 (-12.24%)
Mutual labels:  nginx

istepanov/dokuwiki

THIS PROJECT IS NO LONGER MAINTAINED

Docker Stars Docker Pulls Docker Build Layers Version Join the chat at https://gitter.im/istepanov/docker-dokuwiki

Docker container image with DokuWiki and nginx

How to run

Assume your docker host is localhost and HTTP public port is 8000 (change these values if you need).

First, run new dokuwiki container:

docker run -d -p 8000:80 --name dokuwiki istepanov/dokuwiki:2.0

Then setup dokuwiki using installer at URL http://localhost:8000/install.php

How to make data persistent

To make sure data won't be deleted if container is removed, create an empty container named dokuwiki-data and attach DokuWiki container's volumes to it. Volumes won't be deleted if at least one container owns them.

# create data container
docker run --volumes-from dokuwiki --name dokuwiki-data busybox

# now you can safely delete dokuwiki container
docker stop dokuwiki && docker rm dokuwiki

# to restore dokuwiki, create new dokuwiki container and attach dokuwiki-data volume to it
docker run -d -p 8000:80 --volumes-from dokuwiki-data --name dokuwiki istepanov/dokuwiki:2.0

Persistent plugins

Dokuwiki installs plugins to lib/plugins/, but this folder isn't inside persistent volume storage by default, so all plugins will be erased when container is re-created. The recommended way to make plugins persistent is to create your own Docker image with istepanov/dokuwiki as a base image and use shell commands inside the Dockerfile to install needed plugins.

Example (install Dokuwiki ToDo plugin):

FROM istepanov/dokuwiki
MAINTAINER Ilya Stepanov <[email protected]>

# this is an example Dockerfile that demonstrates how to add Dokuwiki plugins to istepanov/dokuwiki image

RUN apt-get update && \
    apt-get install -y unzip && \
    apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# add todo plugin
RUN curl -O -L "https://github.com/leibler/dokuwiki-plugin-todo/archive/stable.zip" && \
    unzip stable.zip -d /var/www/lib/plugins/ && \
    mv /var/www/lib/plugins/dokuwiki-plugin-todo-stable /var/www/lib/plugins/todo && \
    rm -rf stable.zip

How to backup data

# create dokuwiki-backup.tar.gz archive in current directory using temporaty container
docker run --rm --volumes-from dokuwiki -v $(pwd):/backup ubuntu tar zcvf /backup/dokuwiki-backup.tar.gz /var/dokuwiki-storage

Note: only these folders are backed up:

  • data/pages/
  • data/meta/
  • data/media/
  • data/media_attic/
  • data/media_meta/
  • data/attic/
  • conf/

How to restore from backup

#create new dokuwiki container, but don't start it yet
docker create -p 8000:80 --name dokuwiki istepanov/dokuwiki:2.0

# create data container for persistency (optional)
docker run --volumes-from dokuwiki --name dokuwiki-data busybox

# restore from backup using temporary container
docker run --rm --volumes-from dokuwiki -w / -v $(pwd):/backup ubuntu tar xzvf /backup/dokuwiki-backup.tar.gz

# start dokuwiki
docker start dokuwiki
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].