acobaugh / shinobi-docker

A custom docker build for Shinobi
19 stars 14 forks source link

Introduction

This is a simplified docker image and docker-compose, based on https://gitlab.com/Shinobi-Systems/ShinobiDocker.

This diverges from upstream in a few ways:

Setup

  1. Create the .env file and change/populate it if needed:

    cp env.example .env

Note: .env is used here instead of env_files due to how compose uses variables. In order to use MYSQL_USER and MYSQL_PASSWORD in the mysql container healthcheck, these have to be declared within the compose environment (.env). Then to keep the compose file DRY, these are pulled out into the .env file then referenced in the environment blocks for both containers.

  1. Start containers with:

    docker-compose up