Update README.md
This commit is contained in:
parent
58960633a9
commit
9bbeccebb3
51
README.md
51
README.md
@ -6,11 +6,56 @@ I had to install mediawiki for multiple customers and got frustrated fiddling wi
|
||||
## Features
|
||||
|
||||
- Based on https://github.com/wikimedia/mediawiki-docker
|
||||
- A docker-compose file to run directly
|
||||
- integrated LDAPAuthentication2, LDAPAuthorization, LDAPGroups, LDAPProvider, LDAPSyncAll, LDAPUserInfo, PluggableAuth, Auth_remoteuser from official Mediawiki git
|
||||
- All LDAP related settings are handled via .env file
|
||||
- One-Klick installer no need to use the web based installation procedure
|
||||
- persistent Volumes
|
||||
- One-Klick installer / doensn't use the web based installation procedure
|
||||
- persistent volumes
|
||||
-
|
||||
|
||||
## Usage
|
||||
|
||||
cp example.env .env > set Variables > Build Container > Start Stack > run ./run_install.sh > connect to your Wiki URL > Login with LDAP
|
||||
```
|
||||
git clone https://github.com/sodema/mediawiki-ldap.git
|
||||
cd mediawiki-ldap
|
||||
docker build build/. -t mediawiki-ldap:latest
|
||||
mv example.env .env
|
||||
(vi/nano/???) .env
|
||||
(vi/nano/???) docker-compose.yml
|
||||
docker-compose up -d
|
||||
docker logs -f mediawiki-db
|
||||
docker logs -f mediawiki-app
|
||||
./run_install.sh
|
||||
```
|
||||
|
||||
Instead of building yourself you can also just `docker pull sodema/mediawiki-ldap:0.1`
|
||||
|
||||
Copy example.env to .env and set your Variables
|
||||
|
||||
Edit docker-compose.yml to fit your needs > Start Stack & Check with docker logs if everything is up > run ./run_install.sh > connect to your Wiki URL > Login with LDAP
|
||||
|
||||
## Environment Variables
|
||||
|
||||
These are the variables that need to be set:
|
||||
|
||||
```
|
||||
LDAP_BASE=dc=yourdomain,dc=local
|
||||
LDAP_SERVER_NAME=ldap.yourdomain.local
|
||||
LDAP_SERVER_PORT=9636
|
||||
LDAP_DOMAINNAME=yourdomain.local
|
||||
LDAP_ENCTYPE=ssl
|
||||
LDAP_USER_ATTR=uid
|
||||
LDAP_BIND_USER="uid=readonly,cn=users,dc=yourdomain,dc=local"
|
||||
LDAP_BIND_PASS="SecretBindPassword"
|
||||
DB_HOST=mediawiki-db
|
||||
DB_PORT=3306
|
||||
DB_NAME=mediawiki
|
||||
DB_USER=mediawiki
|
||||
DB_PASS=SecretDBPass
|
||||
WIKI_NAME=Yourdomain_Wiki
|
||||
WIKI_ADMIN=Admin
|
||||
WIKI_ADMIN_PASS=ChangeMe2022!
|
||||
WIKI_URL=https://wiki.yourdomain.local
|
||||
WIKI_LANG=de
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user