Configure secrets and email
This commit is contained in:
parent
9acaec5724
commit
f9d3772ad2
2 changed files with 19 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -92,6 +92,9 @@ Thumbs.db
|
||||||
docker-compose.override.yml
|
docker-compose.override.yml
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
# TechInc not public
|
||||||
|
secrets.php
|
||||||
|
|
||||||
# TechInc extensions
|
# TechInc extensions
|
||||||
extensions/AdminLinks
|
extensions/AdminLinks
|
||||||
extensions/BlueSpiceFoundation
|
extensions/BlueSpiceFoundation
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,9 @@ $_SERVER['SERVER_PORT'] = 443;
|
||||||
|
|
||||||
##################### CUSTOMIZE THESE SETTINGS TO YOUR NEED ###################
|
##################### CUSTOMIZE THESE SETTINGS TO YOUR NEED ###################
|
||||||
|
|
||||||
|
# Put some secrets outside the git repository
|
||||||
|
include 'secrets.php';
|
||||||
|
|
||||||
## Some site defaults
|
## Some site defaults
|
||||||
$wgSitename = "Technologia Incognita";
|
$wgSitename = "Technologia Incognita";
|
||||||
$wgMetaNamespace = "Technologia_Incognita";
|
$wgMetaNamespace = "Technologia_Incognita";
|
||||||
|
|
@ -37,16 +40,27 @@ $wgDBuser = "techinc_wiki";
|
||||||
$wgDBpassword = "gFCS8t19xNEvdg52Sx51asGpr4RESbSH";
|
$wgDBpassword = "gFCS8t19xNEvdg52Sx51asGpr4RESbSH";
|
||||||
$wgDBprefix = "";
|
$wgDBprefix = "";
|
||||||
|
|
||||||
|
|
||||||
|
# Email settings
|
||||||
$wgEmergencyContact = "wiki-noreply@techinc.nl";
|
$wgEmergencyContact = "wiki-noreply@techinc.nl";
|
||||||
$wgPasswordSender = "wiki-noreply@techinc.nl";
|
$wgPasswordSender = "wiki-noreply@techinc.nl";
|
||||||
|
$wgSMTP = [
|
||||||
|
'host' => 'ssl://mail.techinc.nl',
|
||||||
|
'IDHost' => 'wiki.techinc.nl',
|
||||||
|
'localhost' => 'wiki.techinc.nl',
|
||||||
|
'port' => 465,
|
||||||
|
'auth' => true,
|
||||||
|
'username' => 'wiki',
|
||||||
|
'password' => $emailPassword # In secrets.php
|
||||||
|
];
|
||||||
|
|
||||||
# tr -c -d '0123456789abcdef' </dev/urandom | dd bs=64 count=1 2>/dev/null;echo
|
# tr -c -d '0123456789abcdef' </dev/urandom | dd bs=64 count=1 2>/dev/null;echo
|
||||||
$wgSecretKey = "";
|
# $wgSecretKey = ""; # In secrets.php
|
||||||
|
|
||||||
# Site upgrade key. Must be set to a string (default provided) to turn on the
|
# Site upgrade key. Must be set to a string (default provided) to turn on the
|
||||||
# web installer while LocalSettings.php is in place
|
# web installer while LocalSettings.php is in place
|
||||||
# tr -c -d '0123456789abcdef' </dev/urandom | dd bs=64 count=1 2>/dev/null;echo
|
# tr -c -d '0123456789abcdef' </dev/urandom | dd bs=64 count=1 2>/dev/null;echo
|
||||||
$wgUpgradeKey = "";
|
# $wgUpgradeKey = ""; # In secrets.php
|
||||||
|
|
||||||
# Changing this will log out all existing sessions.
|
# Changing this will log out all existing sessions.
|
||||||
$wgAuthenticationTokenVersion = "1";
|
$wgAuthenticationTokenVersion = "1";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue