Skip to content

PlantGenIE/docker4geniesys

 
 

Repository files navigation

docker4geniesys is a set of docker images that include phusion baseimage along with a LAMP stack (Apache, MySQL and PHP) to host the latest version of geniesys website. The following command will start the LAMP server and fetch the latest version of geniesys from Github repository.

Docker installation can be tested or run in several ways.

1.) Run using Play with Docker
The quickest way to test the GenIE-Sys, it takes only a few minutes

Try in PWD

2.) Run with already built in Docker image
The fastest way to run the GenIE-Sys locally or your own server

docker run --rm -i -t -p "80:80" -p "3308:3306" -v ${PWD}/genie:/app -v ${PWD}/mysql:/var/lib/mysql -e MYSQL_ADMIN_PASS="mypass" --name geniesys irusri/docker4geniesys

3.) Build image locally using Dockerfile and run.
This is quite slow since you have to build the image locally

git clone https://github.com/irusri/docker4geniesys.git  
cd docker4geniesys  
docker-compose up

You can access the MySQL database using mysql -u admin -pmypass -h localhost -P 3308 or using http://localhost/phpmyadmin. As you may noticed here admin is the default MySQL username and mypass is the default password. You can change the default password in docker-compose.yml file.

👍 You can access the GenIE-Sys on http://localhost/geniesys/ URL and follow the documentation.

Licence & Contributors

This work is under Free and Open Source licence

Contributions are welcome!

About

Dockerfile for creating an automated build for GenIE-Sys

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 63.9%
  • Dockerfile 36.1%