Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

Latest commit

 

History

History
59 lines (47 loc) · 2.35 KB

README.md

File metadata and controls

59 lines (47 loc) · 2.35 KB

Travis Pulls Layers Size Release Badges Beevelop

Directus containerized

Directus is an awesome database GUI that provides a feature-rich environment for rapid development and management of custom database schemas.

Quickstart (recommended)

  1. git clone https://github.com/beevelop/docker-directus && cd docker-directus
  2. Adapt docker-compose.yml to your needs
  3. Run using docker-compose up

Pull from Docker Hub

docker pull beevelop/directus:latest

Or build from GitHub

docker build -t beevelop/directus github.com/beevelop/docker-directus

Then run image

# Start the mysql database
docker run -e MYSQL_ROOT_PASSWORD=Un1c0rns_4r3_4w3s0m3 \
          -e MYSQL_DATABASE=directus -e MYSQL_USER=directus \
          -e MYSQL_PASSWORD=Un1c0rn \
          -v `pwd`/db/:/var/lib/mysql/ \
          --name mysql -d mysql:5.5

# Start directus
docker run -e [email protected] \
           -e SITE_NAME=Dockerectus \
           -e ADMIN_PASSWORD=Un1c0rn \
           -v `pwd`/logs/:/var/www/html/api/logs \
           -v `pwd`/media/:/var/www/html/storage/uploads \
           --link mysql:mysql \
           -p 8080:80 \
           --name directus -d beevelop/directus

You should the be able to access your Directus installation at http://YOUR_HOST:8080 (login with [email protected]:Un1c0rn).

Use as base image

FROM beevelop/directus:latest

One does not simply use latest