Directus containerized
Directus is an awesome database GUI that provides a feature-rich environment for rapid development and management of custom database schemas.
git clone https://github.com/beevelop/docker-directus && cd docker-directus
- Adapt
docker-compose.yml
to your needs - Run using
docker-compose up
docker pull beevelop/directus:latest
docker build -t beevelop/directus github.com/beevelop/docker-directus
# 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 ADMIN_EMAIL=directus@example.com \
-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 directus@example.com:Un1c0rn
).
FROM beevelop/directus:latest