- Put your Google certificate file at
secrets/google-key.json(see more at https://www.mediawiki.org/wiki/Extension:GoogleAnalyticsMetrics) - Create (you can use secrets/_create_empty_secret_files.sh) and populate all the secrets/* files (for testing you can use empty files)
- Create
.envfile based on one of .env.* and alter as needed (or create a symbolic link to one) - Run
docker compose up -d
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)