Used to just binding a certain directory or file from the host inside the container. We use:
./_initdbdirectory is used to pass the database dump for stack initialization
Data that must be persistent across container life cycles are stored in docker volumes:
db_data(MySQL databases and working directories, attached todbservice)elasticsearch_data(Elasticsearch nodes, attached toelasticsearchservice)web_data(Miscellaneous MediaWiki files and directories that must be persistent by design, attached to the correspondingwebservice )images(MediaWiki upload directory, attached towebservice and used inresticservice (read-only))restic_data(Backup data exchange, attached toresticservice)varnish_data(Cache data ofvarnishproxy service)