
Security News
AI Agent Submits PR to Matplotlib, Publishes Angry Blog Post After Rejection
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.
directus-mysql-docker
Advanced tools
A helper app to configure Directus on Docker with MySQL, Adminer, and GraphQL
This package contains everything you need to get up and running with Directus CMS with a MySQL backend, plus an interactive GraphQL playground to help you develop your API queries.
Before you do anything else, you need Docker and Node installed on your machine:
Once you've installed Node and Docker, and have Docker Desktop running on your machine, you can install and configure this package by following these steps:
cd '~/Documents/My-Folder'.git clone https://github.com/rollmug/directus-mysql-template.gitcd 'directus-mysql-template'Configure your Directus/MySQL setup:
npm installnpm start. The wizard will walk you through the config, and automatically launch all containers for you.Note that you'll only have to do these two steps the first time you run this.
To stop your running containers, simply run docker compose down in your terminal from within the project directory. All containers will be stopped.
To restart your stopped containers, you can let the helper app do it for you:
npm start
Or you can follow this sequence:
docker compose up mysql -d
Then wait 10-20 seconds (for MySQL to boot), then type:
docker compose up -d
Boom! You're done. Now you can access the URLS from here:
Directus CMS: http://localhost:8055
GraphQL Playground: http://localhost:4000/graphql
Adminer (for MySQL): http://localhost:8080
Check on running containers:
Simply run docker compose ps to see the status of running containers. Or, run docker compose ps -a to see all containers, running or not.
When using the GraphiQL playground on localhost, you'll run into some browser problems related to CORS. Here's how to get around it:
Safari:
Chrome
Temporarily Disable CORS in Chrome (MacOS):
open -n -a "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security
Windows:
Firefox:
For Firefox you can simply install CORS Everywhere addon.
curl -X POST localhost:8055/auth/login -H 'Content-Type: application/json' -d '{"email":"you@email.com","password":"your-password"}'
curl -X POST localhost:8055/auth/refresh -H 'Content-Type: application/json' -d '{"refresh_token": "W5L70MBXKElx5ZVZwxmQVG8qdVjukiRVIwD5FYG7tCPyyuCM_I3IyCsYnFhMUrRi", "mode": "json"}'
FAQs
A helper app to configure Directus on Docker with MySQL, Adminer, and GraphQL
The npm package directus-mysql-docker receives a total of 0 weekly downloads. As such, directus-mysql-docker popularity was classified as not popular.
We found that directus-mysql-docker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.

Security News
HashiCorp disclosed a high-severity RCE in next-mdx-remote affecting versions 4.3.0 to 5.x when compiling untrusted MDX on the server.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.