Wiki source for Wikka-Docker-Faster
======**Wikka on Docker for the impatient**======
====WikkaWiki on 4 steps:====
1. Check if the next deb are on your system:
%%(bash;Install on Ubuntu)
apt-cache search docker| grep -E "compose|^docker-engine"
%%%%
docker-compose - Punctual, lightweight development environments using Docker
docker-engine - Docker: the open-source application container engine
%%
2. Install these debs:
%%(bash;Install on Ubuntu)
apt-get install docker-engine docker-compose
%%
3. Copy this file (exactly!)
%%(text;docker-compose.yml)
version: '2'
services:
mariadb:
image: mariadb
hostname: mariadb
environment:
- MYSQL_ROOT_PASSWORD=root-password
- MYSQL_DATABASE=wikka
- MYSQL_USER=wikka
- MYSQL_PASSWORD=wikka-password
volumes:
- $PWD/mysql:/var/lib/mysql
wiki:
image: oems/wikkawiki:1.4.0-pre_lite
links:
- mariadb
ports:
- '80:80'
%%
4. Start the docker:
%%(bash;Run the docker-compose on the same directory of the docker-compose.yml file.)
docker-compose up
%%
----
[[Wikka-Docker]]
====WikkaWiki on 4 steps:====
1. Check if the next deb are on your system:
%%(bash;Install on Ubuntu)
apt-cache search docker| grep -E "compose|^docker-engine"
%%%%
docker-compose - Punctual, lightweight development environments using Docker
docker-engine - Docker: the open-source application container engine
%%
2. Install these debs:
%%(bash;Install on Ubuntu)
apt-get install docker-engine docker-compose
%%
3. Copy this file (exactly!)
%%(text;docker-compose.yml)
version: '2'
services:
mariadb:
image: mariadb
hostname: mariadb
environment:
- MYSQL_ROOT_PASSWORD=root-password
- MYSQL_DATABASE=wikka
- MYSQL_USER=wikka
- MYSQL_PASSWORD=wikka-password
volumes:
- $PWD/mysql:/var/lib/mysql
wiki:
image: oems/wikkawiki:1.4.0-pre_lite
links:
- mariadb
ports:
- '80:80'
%%
4. Start the docker:
%%(bash;Run the docker-compose on the same directory of the docker-compose.yml file.)
docker-compose up
%%
----
[[Wikka-Docker]]