0e196b33d29afb65ca9fffbcf3aaf35c0ee01db0
All checks were successful
continuous-integration/drone/push Build is passing
Mediawiki
Mediawiki version 1.35
Requires Docker version 1.11.2 or above to run.
Based on mediawiki.
- Set up Docker Swarm and
abra - Deploy
coop-cloud/traefik cp .envrc.sample .envrc- Edit
.envrc- be sure to change$DOMAINto something that resolves to your Docker swarm box direnv allow(or. .envrc)- Generate secrets:
abra secret_generate db_password v1 abra secret_generate db_root_password v1 abra secret_generate mediawiki_secret_key v1 "pwgen -n 64 1" abra deploy- Create an initial admin user:
abra run app php /var/www/html/maintenance/createAndPromote.php --sysop YourUsername YourPassword
SimpleSAMLphp
This app includes optional SAML Single Sign On using
SimpleSAMLphp and Mediawiki's
Extension:SimpleSAMLphp, based on the
venatorfox/simplesamlphp image.
NOTE: currently, if you enable SAML then it'll disable Mediawiki's own user account system. Patches to make this configurable are welcome!
- Edit
.envrcand uncomment lines in theSAMLsection (includingCOMPOSE_FILE) direnv allow- Generate secrets:
abra secret_generate saml_admin_password v1 abra secret_generate saml_secret_salt v1 "pwgen -n 64 1" abra deploy- Copy your SimpleSAMLphp metadata and certificates to the container (assuming
you have local
metadataandcertfolders:abra cp metadata simplesaml:/var/simplesamlphp/ abra cp cert simplesaml:/var/simplesamlphp/ - You can log into SimpleSAMLphp using the password you generated at https://$DOMAIN/simplesaml/ and test authentication
- Edit SimpleSAMLphp's
config.phpand changestore.sql.dsn:abra run simplesaml vi /var/simplesamlphp/config/config.php # find 'store.sql.dsn' and edit to: # 'sqlite:/var/simplesamlphp/data/simplesamlphp.sq3'
OpenID Connect
- Edit
.envrcand uncomment lines in theOPENIDsection (includingCOMPOSE_FILE) direnv allow- Get your Keycloak generated client secret and
docker secret createit asopenid_client_secret
License
MIT License
Description
The collaborative editing software that runs Wikipedia
https://gerrit.wikimedia.org/g/mediawiki/core
Readme
500 KiB
Languages
Shell
100%