mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
- Ports are not required here, as all three containers share the same 'directus' network. They can communicate with each other internally. Opening the ports only exposes the database and cache to the world (the internet) unnecessarily, posing more of a security issue. - 'Container name:' ensures that the container adopts that specific name. While by default the container will start with the name specified at the top of each container section (i.e. directus, cache, database), if one of those names is occupied it risks reverting to an alternative, which will have networking implications as those specific hostnames are sought from the other containers. With 'container name:' set, it will return an error that the container name is in use. Adopting here the 'explicit is better than implicit' approach. 'Depends on:' as the name suggests, ensures that the database and cache are up and running before Directus starts.
Directus Documentation
Welcome to the Directus documentation.
Getting Started
Novice Oriented. For a platform introduction and installation.
Concepts
Learning Oriented. For understanding the platform.
- Platform Overview
- App Overview
- App Extensions
- Activity & Versions
- Files & Thumbnails
- Internationalization
- Relationships
- Users, Roles & Permissions
Guides
Problem Oriented. Follow along with steps while working.
Reference
Information Oriented. Look up info and specificationss while working.