Install Docker on your system then clone this repo
git clone https://github.com/kerrongordon/gibbon-docker.git
cd gibbon-docker
change database name, user and password
MYSQL_DATABASE=db
MYSQL_USER=user
MYSQL_PASSWORD=password
MYSQL_ROOT_PASSWORD=password
docker build -t kerrongordon/gibbon .
docker-compose up -d
Connect to database with 127.0.0.1 on port 3306 open your web browser and go to localhost
version: "3"
services:
gibbon:
image: kerrongordon/gibbon:latest
container_name: gibbon
restart: unless-stopped
ports:
- 8080:80
volumes:
- my-gibbon:/var/www/gibbon.local/
depends_on:
- db
db:
image: mysql:latest
container_name: mysql
restart: unless-stopped
environment:
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
ports:
- '3306:3306'
volumes:
- my-db:/var/lib/mysql
volumes:
my-db:
my-gibbon: