Skip to content

ilabafrica/iblis-contrib-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iLab Africa

iBLIS Docker

Docker containers for iBLIS

Build Status MariaDB Image Nginx Image

This repository contains the necessary infrastructure code and related resources required to compose and run Docker containers that start an instance of the iLab Africa iBLIS application.

Running

Prerequisites

Make sure you have Docker and Docker Compose installed.

Composition

To run containers use the prebuilt images, first get the compose file:

wget https://raw.githubusercontent.com/esaude/iblis-contrib-docker/master/docker-compose-prebuilt.yml

Then pull the images:

docker-compose -f docker-compose-prebuilt.yml pull

Once the pull is complete, you'll have to make sure that the mariadb container is initialized due to this limitation. Do this by running the following:

docker-compose -f docker-compose-prebuilt.yml up iblis-mariadb

When it's done you can press ctrl+c to stop the container. You will only have to do this the first time.

After this you can run iBLIS by executing the following:

docker-compose -f docker-compose-prebuilt.yml up

Access

To log into iBLIS, use the following details:

Building

Prerequisites

Make sure you have Docker and Docker Compose installed.

Setup

Start by cloning this repository:

git clone https://github.com/esaude/iblis-contrib-docker

Enter the directory and build the images:

cd iblis-contrib-docker
docker-compose build

Once the build is complete, you'll have to make sure that the mariadb container is initialized due to this limitation. Do this by running the following:

docker-compose up iblis-mariadb

When it's done you can press ctrl+c to stop the container. You will only have to do this the first time.

After this you can run iBLIS by executing the following:

docker-compose up

Troubleshooting

[PDOException]
SQLSTATE[HY000] [2002] Connection refused

Since it's not currently possible to order the startup of Docker containers, sometimes the Nginx container will start before the MariaDB container. As a result, iBLIS might not get a database connection on start up. To work around this, stop the containers and restart them:

docker-compose stop
docker-compose start

Or if you are using the prebuilt images:

docker-compose -f docker-compose-prebuilt.yml stop
docker-compose -f docker-compose-prebuilt.yml start

License

MPL 2.0 w/ HD

Packages

No packages published

Languages

  • PHP 53.6%
  • Shell 33.3%
  • Nginx 13.1%