Public | Automated Build

Last pushed: 2 years ago
Short Description
Dockerfile for Stikked (https://github.com/claudehohl/Stikked)
Full Description

Stikked Dockerfile

This repository contains Dockerfile of Stikked for Docker.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull viranch/stikked

    (alternatively, you can build an image from Dockerfile: docker build -t="viranch/stikked" github.com/viranch/docker-stikked)

Setting up

  1. You'll need to setup a MySQL database and a user for stikked.

  2. Copy the config file from here.

  3. Set database configuration (and any other configuration you might want) in the file, and save it at a persistent location of your choice, e.g., ~/data/stikked/stikked.php.

  4. Mount the config file on to the docker container while running it: docker run -d -v ~/data/stikked/stikked.php:/data/http/application/config/stikked.php -p 80:80 viranch/stikked.

Usage

docker run -d -v /path/to/stikked.php:/data/http/application/config/stikked.php -p 80:80 viranch/stikked

After few seconds, open http://<host>/ to see the result.

Docker Pull Command
Owner
viranch
Source Repository

Comments (2)
viranch
8 months ago

@magixx: You will need to bind the stikked container's network to host network so that it can access MySQL on 127.0.0.1.

magixx
2 years ago

How is the container supposed to access the mysql running on the host?