Docker container with Koken, Apache and PHP 7
50K+
The image uses PHP 7 and Apache for deploying Koken in a Docker environment. This container is meant to be lightweight and extensible, uses the current PHP version and can be linked with an external MySQL/MariaDB instance.
$ docker run --name some-koken --hostname koken.example.com --link some-mysql:mysql -p 80:80 -d nicokaiser/koken
The hostname must be accessible from inside the container, so it must be the hostname that is visible from the outside (for lookback connections).
Upon first run, the Koken installer will run.
docker-composeExample docker-compose.yml:
version: '2'
services:
koken:
image: nicokaiser/koken:php7.3-apache
hostname: koken.example.com
ports:
- 80:80
volumes:
- koken_data:/var/www/html
mariadb:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: example
volumes:
koken_data:
Content type
Image
Digest
Size
191.6 MB
Last updated
over 5 years ago
docker pull nicokaiser/koken