|
1 week ago | |
---|---|---|
.drone.yml | 1 month ago | |
.env.sample | 1 week ago | |
.gitignore | 5 months ago | |
LocalSettings.php.tmpl | 1 week ago | |
README.md | 1 week ago | |
abra.sh | 1 week ago | |
compose.openid.yml | 2 months ago | |
compose.simplesaml.yml | 1 week ago | |
compose.yml | 1 week ago | |
composer.local.json.tmpl | 4 months ago | |
entrypoint.sh.tmpl | 1 week ago | |
entrypoint.simplesaml.sh.tmpl | 4 months ago | |
php.ini.tmpl | 3 months ago | |
renovate.json | 5 months ago |
Mediawiki version 1.35
Requires Docker version 1.11.2 or above to run.
Based on mediawiki
.
abra
coop-cloud/traefik
abra app new mediawiki
abra app YOURAPPDOMAIN config
- be sure to change $DOMAIN
to something that resolves to
your Docker swarm boxabra app YOURAPPDOMAIN secret auto
(optionally with --pass
if you'd like
to save secrets in pass
).abra app YOURAPPDOMAIN deploy
abra run app php /var/www/html/maintenance/createAndPromote.php --sysop YourUsername YourPassword
abra app YOURAPPDOMAIN config
- edit .envrc
and uncomment the SMTP
lines. Set SMTP_HOST
to
postfix_relay
for coop-cloud/postfix_relay
, or mailu_front
for
coop-cloud/mailu
(assuming default stack names)postfix_relay
, add the domain to your email config – EXTRA_SENDER_DOMAINS
in
postfix_relay
. This doesn't seem to be required for Mailu.abra app YOURAPPDOMAIN deploy
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!
abra app YOURAPPDOMAIN config
- uncomment lines in the SAML
section (including COMPOSE_FILE
)--pass
if you want to store secrets in pass
)
abra app YOURAPPDOMAIN secret generate saml_admin_password v1
abra app YOURAPPDOMAIN secret generate saml_secret_salt v1 "pwgen -n 64 1"
abra app YOURAPPDOMAIN deploy
metadata
and cert
folders:
abra app YOURAPPDOMAIN cp metadata simplesaml:/var/simplesamlphp/
abra app YOURAPPDOMAIN cp cert simplesaml:/var/simplesamlphp/
config.php
and change store.sql.dsn
:
abra app YOURAPPDOMAIN run simplesaml vi /var/simplesamlphp/config/config.php
# find 'store.sql.dsn' and edit to:
# 'sqlite:/var/simplesamlphp/data/simplesamlphp.sq3'
abra app YOURAPPDOMAIN config
- uncomment lines in the OPENID
section (including COMPOSE_FILE
)abra app YOURAPPDOMAIN secret insert openid_client_secret v1 put-your-secret-here
abra deploy
MIT License