Public Repository

Last pushed: a year ago
Short Description
Tiki-Wiki is a free and open content management system (CMS) with the most built-in features
Full Description

What is TikiWiki

Tiki-wiki is a flexible and customizable content management system for creating a broad range of web applications. For further information and live demo visit https://tiki.org

What's in this image?

Fresh setup of a tiki wiki (version 15.2)
The image is based on the official php with apache image (php:7.0-apache)
Since the tiki-wiki is an web application, the default exposed port is 80/TCP
The tiki-wiki is mounted at /var/www/html/tiki

Usage

Running a tiki-wiki requires the installation of a mySQL database. To run the tiki-wiki, one has to specify the db connection via environment variables, either within a .env file, or directly while running the docker image:

docker run -dit --name tiki \
    -e MYSQL_DATABASE=tiki15 \
    -e MYSQL_USER=tiki-mysql-user \
    -e MYSQL_PASSWORD=tiki-mysql-user-password \
    -e MYSQL_HOST=localhost \
    flockowak/tiki-wiki:latest

..or using an .env file

docker run -dit --name tiki \
    --env-file .env \
    flockowak/tiki-wiki:latest

..or link it with an existing mysql docker container:

docker run -dit --name tiki \
    -e MYSQL_DATABASE=tiki15 \
    -e MYSQL_USER=tiki-mysql-user \
    -e MYSQL_PASSWORD=tiki-mysql-user-password \
    -e MYSQL_HOST=mysql \
    --link mysql:mysql-cntnr
    flockowak/tiki-wiki:latest

Note: When using --link, the mysql host has to be changed to the used alias (i.e. in the upper example mysql is used as alias for the existing and runing mysql-cntnr container, and can be accessed within the tiki-wiki container via this alias).

One can also use docker-compose (docker-compose.yml and .env files):

version: '2'
services:
   mysql:
      image: mysql:5.6
      container_name: tiki-mysql
      environment:
      - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
      - MYSQL_DATABASE=${MYSQL_DATABASE}
      - MYSQL_USER=${MYSQL_USER}
      - MYSQL_PASSWORD=${MYSQL_PASSWORD}
   tiki-wiki:
      image: flockowak/tiki-wiki
      container_name: tiki
      environment:
      - MYSQL_DATABASE=${MYSQL_DATABASE}
      - MYSQL_USER=${MYSQL_USER}
      - MYSQL_PASSWORD=${MYSQL_PASSWORD}
      - MYSQL_HOST=${MYSQL_HOST}
      ports:
      - "8080:80"
      links:
      - mysql

The running tiki-wiki should be available in the browser at <localhost:80> or <localhost>
At the first run, you should see the tiki-wiki installation page, where one can directly begin setting up the tiki-wiki.

To update the database config from environment variables, run sh update-db.sh or change the settings manually in db/local.php (as text editor nano is installed by default)

See also:

Docker Pull Command
Owner
flockowak