Revision [23573]
This is an old revision of Wikka-Docker-Faster made by OeMunoz on 2017-08-10 22:18:09.
Wikka Docker for the impatient
1. Check if the next deb are on your system:
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:
Install on Ubuntu
apt-get install docker-engine docker-compose
3. Copy this file (exactly!)
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'
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:
Run the docker-compose on the same directory of the docker-compose.yml file.
docker-compose up
CategoryLinux Wikka-Docker