Skip to content

Latest commit

 

History

History
55 lines (45 loc) · 2.31 KB

README.md

File metadata and controls

55 lines (45 loc) · 2.31 KB

Travis Docker Pulls ImageLayers Layers ImageLayers Size GitHub 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/media \
           --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