erickfmm / gibbon-docker

Gibbon School Management System

Home Page:https://gibbonedu.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

Build Status Docker Cloud Build Status Docker Pulls Docker Stars

Install Docker on your system then clone this repo

git clone https://github.com/kerrongordon/gibbon-docker.git

cd gibbon-docker

Create a .env file inside gibbon-docker folder

change database name, user and password

MYSQL_DATABASE=db
MYSQL_USER=user
MYSQL_PASSWORD=password
MYSQL_ROOT_PASSWORD=password

build Image

docker build -t kerrongordon/gibbon .

Start Docker Compose

docker-compose up -d

Connect to database with 127.0.0.1 on port 3306 open your web browser and go to localhost

Docker Compose example

version: "3"
services:
  gibbon:
    image: kerrongordon/gibbon
    container_name: gibbon
    network_mode: host
    volumes:
      - my-gibbon:/var/www/site/
    ports:
      - 80:80
    restart: always

  db:
    image: mysql:5.7
    container_name: mysql
    restart: always
    environment:
      MYSQL_DATABASE: your-database-name // change me
      MYSQL_USER: your-user-name // change me
      MYSQL_PASSWORD: user-password // change me
      MYSQL_ROOT_PASSWORD: root-password // change me
    ports:
      - '3306:3306'
    expose:
      - '3306'
    volumes:
      - my-db:/var/lib/mysql

volumes:
  my-db:
  my-gibbon:

About

Gibbon School Management System

https://gibbonedu.org/


Languages

Language:Dockerfile 100.0%