Commit Graph

10 Commits

Author SHA1 Message Date
maggie0002
deba17d355 Update docker.md 2021-01-23 10:21:14 -08:00
maggie0002
d933c0a9d6 Close open ports for security improvement
- 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.
2021-01-23 10:15:59 -08:00
WoLfulus
4782d38c54 Update docker-compose examples. 2020-12-21 13:13:55 -03:00
Nicola Krumschmidt
e66bd5a58a Fix admin credentials env var names in docker docs 2020-12-15 01:36:27 +01:00
Nicola Krumschmidt
cb49b87676 Fix formatting in docker docs 2020-12-15 01:35:54 +01:00
rijkvanzanten
8c5db5d927 Update docs docs docs 2020-12-02 12:28:37 -05:00
rijkvanzanten
41a3ffcd00 Format md 2020-12-01 16:52:51 -05:00
JuanCarlosJr97
a2c8ea41c1 Updating docker guide installation
Updating docker guide installation for the admin user
2020-11-20 11:07:06 +00:00
Ben Haynes
d4a214f2d4 Docs updates 2020-10-02 16:21:20 -04:00
Ben Haynes
57a25daf14 Installation docs WIP 2020-09-25 17:57:25 -04:00