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

bula21/mova21-app-backend

Repository files navigation

Custom Directus App Backend Container

The code to build the custom app backend docker image. Based on directus/directus:v8-apache

Custom Endpoints

Cronjob to update News from Wordpress:

/_/custom/cron/news

Building the custom Docker image

Update the $VERSION in build_docker.sh and run:

./build_docker.sh

Run the dev environment for testing / development

docker-compose up -d

Credentials

Login: http://localhost:8881
Username: [email protected]
Password: admin

Developer Hints

Custom Endpoints

API URL Schema:

/src/public/extensions/custom/endpoints/hello.php is available at http://localhost:8881/_/custom/hello

Docker Commands

Populate Empty Database

docker-compose run --rm directus install --email [email protected] --password admin

Connect to MySQL console

docker exec -it mova21_mysql_1 mysql -u root -p

Import DB Dump

docker exec -i mova21_mysql_1 mysql -u root -p directus < directus_db.sql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published