Reset mediawiki password7/5/2023 ![]() ![]() ![]() This allows you to easily configure ( LocalSettings.php), backup uploaded files ( images), and customize ( skins and extensions) your instance of MediaWiki. When found symbolic links will be automatically created to the respsective file or folder to replace the ones included with the default MediaWiki install. If provided mount a shared volume using the -v argument when running docker run, the mediawiki container will automatically look for a LocalSettings.php file and images, skins and extensions folders. MEDIAWIKI_DB_USER and MEDIAWIKI_DB_PASSWORD if necessary): To use with an external database server, use MEDIAWIKI_DB_HOST (along with That the MEDIAWIKI_DB_USER specified has the necessary permissions to create Server, it will be created automatically upon container startup, provided If the MEDIAWIKI_DB_NAME specified does not already exist on the provided MySQL (defaults to mediawiki, applies only to when using postgres) (defaults to the password of the linked database container) (defaults to root or postgres based on db type being mysql, or postgres respsectively) (defaults to the port of the linked database container or to the default for specified db type) (defaults to the address of the linked database container) (defaults to mysql, but can also be postgres) You can use the following environment variables for connecting to another database server: To use one of these pre-built containers, simply specify the tag as part of the docker run command:ĭocker run -name some-mediawiki -link some-postgres:postgres -v /local/data/path:/data:rw -d wikimedia/mediawiki:postgres wikimedia/mediawiki:latest (currently uses 1.27-wmf9).We currently track latest MediaWiki production branches, as run on If a CustomSettings.php file exists in your data file, a require('/data/CustomSettings.php') will be appended to the generated LocalSettings.php file. If you mounted a shared volume (see Shared Volume below), the generated LocalSettings.php will be automatically moved to your share volume allowing you to edit it. -e MEDIAWIKI_SLEEP= (defaults to 0 delays startup of container, useful when using Docker Compose)Īs mentioned, this will generate the LocalSettings.php file that is required by MediaWiki.-e MEDIAWIKI_UPDATE=true (defaults to false run php maintenance/update.php).-e MEDIAWIKI_ADMIN_PASS= (defaults to rosebud configures default administrator password).-e MEDIAWIKI_ADMIN_USER= (defaults to admin configures default administrator username).-e MEDIAWIKI_SITE_LANG= (defaults to en configures $wgLanguageCode).-e MEDIAWIKI_SITE_NAME= (defaults to MediaWiki configures $wgSitename).-e MEDIAWIKI_SITE_SERVER= ( required set this to the server host and include the protocol (and port if necessary) like configures $wgServer).Please see Manual:Configuration_settings for details about what these configuration variables do. See Installation Wizard below for more details. If you don't include these, you'll need to go through the installation wizard. Use the following environmental variables to generate a LocalSettings.php and perform automatic installation of MediaWiki. Having troubling accessing your MediaWiki server? See Accessing MediaWiki below for help. See Shared Volume below for more details. -v is used to mount a shared folder with the container.See Configure Database below for more details. -link allows you to connect this container with a database container.Docker run -name some-mediawiki -link some-mysql:mysql -v /local/data/path:/data:rw -d wikimedia/mediawiki ![]()
0 Comments
Leave a Reply. |