CMS-Directus

Last modified by Robert Pele on 2021/08/04 08:15

Purpose

WARNING: This stack contains Directus 8. Version 8 is outdated. There is a new version 9. We can't upgrade this stack to 9 because the official documentation of Version 9 is not finished yet. Status: pending - waiting for docs of version 9

Directus is an open-source tool that wraps your database with an API, and provides an intuitive admin app for non-technical users to manage its content. It's what you'd get if you mixed a headless CMS, database client, and WebApp builder.

Properties

 Stack-Description  Directus headless CMS    
 Stack-Image        docker.msg.team/ps/docker-stack-cms-directus   
 Stack-Version      8.8.1 
 Stack-Release      20200927 
 Product-Name  Directus 
 Product-Vendor  RANGER Studio, LLC 
 Product-Contact  https://directus.io/ 
 Product-Model  Open Source 
 Product-License  GPL 
 Product-Limits  none 
Implementation Base  Node.js, Vue.js 
Execution Base       Webserver
Initial Start Time   00:00:23
Documentation       https://docs.directus.io/getting-started/introduction.html

Topology

The stack consists of 2 containers:

  • cms-directus: the application is running in this container
  • std-mysql: the mysqldb for Directus

Configuration

Variable Name       Default Meaning  

See also the variables which control integration of the stack into the reverse proxy.
For changes to take effect the stack has to be reinstalled.

Initial Configuration

App Access: <hostname>/cms-directus/admin/index.html

Username: admin@example.com

Password: admin

With this login you can create new admin and normal users using the web interface

As an alternative you can use

docker-stack exec cms-directus user 

After the creation of new admin users you should delete the admin@example.com user or at least change its password.

To create a project on a new or foreign database use: 

docker-stack exec cms-directus project <database host> <database port> <database name> <database user> <database password> <super admin token> <project name>

To create the admin user for this new connection use

docker-stack exec cms-directus user 

Administration Commands

Command Arguments Function  
docker-stack exec cms-directus project<database host> <database port> <database name> <database user> <database password> <super admin token> <project name>See description above
docker-stack exec cms-directus user<database user>See description above

Related Documents

 

Tags:
Created by Carol Gutzeit on 2020/05/26 21:25

Navigation