services: mediawiki: image: mediawiki:1.46 restart: unless-stopped environment: WIKI_URL: ${URL} WIKI_NAME: ${WIKI_NAME} ADMIN_USERNAME: ${ADMIN_USERNAME} ADMIN_PASSWORD: ${ADMIN_PASSWORD} # A new MediaWiki offers its installer, which makes the administrator, to whoever opens it # first. So the wiki is installed here before Apache answers anyone: its SQLite database and # LocalSettings.php in the data volume, the administrator from the fields. LocalSettings.php is # written there only once the install has succeeded; a start that finds none puts what an # earlier, failed install left aside in data/failed-