Here are all the environment variables that are currently setup; more will ideally be added to make configs more universal
Docs should be as self descriptive as possible; anything flagged with SECURITY should put in a secret in your container engine
You can setup a route prefix to the wiki using URL PREFIX.
URL_PREFIX
- OPTIONAL - The URL Prefix of the container
The container will autocreate a GOD account (i.e. full perms wiki access) if these are passed in
GOD_NAME
- REQUIRED - The username of the GOD account createdGOD_PASS
- REQUIRED | SECURITY - The password of the GOD account created
These settings are directly passed into LocalSettings.php
WG_SITENAME
- REQUIRED - The mediawiki site name - https://www.mediawiki.org/wiki/Manual:$wgSitenameWG_METANAMESPACE
- OPTIONAL - Mediawiki Meta Namespace - https://www.mediawiki.org/wiki/Manual:$wgMetaNamespaceWG_SERVER
- REQUIRED - URL on which the mediawiki instance will be hosted - https://www.mediawiki.org/wiki/Manual:$wgServerWG_SECRETKEY
- REQUIRED | SECURITY - Mediawiki's Secret key - https://www.mediawiki.org/wiki/Manual:$wgSecretKeyWG_UPGRADEKEY
- REQUIRED | SECURITY - Mediawiki's Secret key - https://www.mediawiki.org/wiki/Manual:$wgUpgradeKey
These setup the mediawiki rights settings
TODO Document
WG_RIGHTSPAGE
- OPTIONALWG_RIGHTSURL
- OPTIONALWG_RIGHTSTEXT
- OPTIONALWG_RIGHTSICON
- OPTIONAL
The SMTP connection settings
TODO: ensure SMTP is turned off if these aren't passed
SMTP_URL
- OPTIONALSMTP_PORT
- OPTIONALSMTP_USER
- OPTIONALSMTP_PASS
- OPTIONAL | SECURITY
This container is setup to use postgres and type exposure is provided as the bootstrapping also assumes postgres
DB_HOST
- OPTIONAL - Postgres Host - Default:postgres
DB_NAME
- OPTIONAL - Postgres DB Name - Default:postgres
DB_USER
- OPTIONAL - Postgres User - Default:postgres
DB_PASS
- REQUIRED | SECURITY - Postgres Password, must be provided as there is no defaultDB_PORT
- OPTIONAL - Postgres Port - Default5432
DB_SCHEMA
- OPTIONAL - Mediawiki's schema name - Defaultmediawiki
SAML_METADATA_URL
- REQUIRED - URL pointing at SAML metadata