Docker image for Koken. Uses Ubuntu, nginx, MySQL, and PHP 5.
PHP Shell
Clone or download
Latest commit ef71169 Nov 30, 2016
Permalink
Failed to load latest commit information.
conf Allow albums to be downloaded Oct 1, 2016
php Update bucket Sep 21, 2015
services Update bucket Sep 21, 2015
shell Safe to use 1/2 system memory Aug 25, 2014
.gitignore Cleaning up Jun 3, 2014
Dockerfile Enable mcrypt php module Nov 30, 2016
LICENSE Update LICENSE Aug 4, 2014
README.md Update README.md Aug 15, 2014
build.sh Updating image name Aug 4, 2014

README.md

Docker + Koken + nginx = ♥

This official Koken Docker image installs the latest version of Koken and all necessary system requirements.

Features

  • Automatically sets up and configures the database for Koken and skips that step in the installation process.
  • Adds a cron job to do periodic cleanup of the image cache.
  • nginx/PHP configured for best Koken performance.
  • Can be used on any machine with Docker installed.

Using at Digital Ocean

Digital Ocean provides fast, low cost virtual servers that are well suited for Koken. We have a dedicated article on our help site with instructions on how to use this Docker image at Digital Ocean.

General usage

If you aren't using Digital Ocean, you just need to ensure that your host is compatible with Docker and then follow the instructions below.

  1. Install Docker.
  2. Use our simple wrapper script to start Koken.
wget -qO - https://gist.githubusercontent.com/bradleyboy/48b67b5e9ebf91031a19/raw/create_koken.sh | sudo bash

This forwards port 80 on your host machine to the instance of Koken running on port 8080 inside the container. You can now access your new Koken install by loading the IP address or domain name for your host in a browser. Your files reside in /data/koken/www on the host machine, while the MySQL data lives in /data/koken/mysql.