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
|
||||
.env
|
||||
|
||||
# TechInc not public
|
||||
secrets.php
|
||||
|
||||
# TechInc extensions
|
||||
extensions/AdminLinks
|
||||
extensions/BlueSpiceFoundation
|
||||
|
|
|
|||
|
|
@ -18,6 +18,9 @@ $_SERVER['SERVER_PORT'] = 443;
|
|||
|
||||
##################### CUSTOMIZE THESE SETTINGS TO YOUR NEED ###################
|
||||
|
||||
# Put some secrets outside the git repository
|
||||
include 'secrets.php';
|
||||
|
||||
## Some site defaults
|
||||
$wgSitename = "Technologia Incognita";
|
||||
$wgMetaNamespace = "Technologia_Incognita";
|
||||
|
|
@ -37,16 +40,27 @@ $wgDBuser = "techinc_wiki";
|
|||
$wgDBpassword = "gFCS8t19xNEvdg52Sx51asGpr4RESbSH";
|
||||
$wgDBprefix = "";
|
||||
|
||||
|
||||
# Email settings
|
||||
$wgEmergencyContact = "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
|
||||
$wgSecretKey = "";
|
||||
# $wgSecretKey = ""; # In secrets.php
|
||||
|
||||
# Site upgrade key. Must be set to a string (default provided) to turn on the
|
||||
# web installer while LocalSettings.php is in place
|
||||
# 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.
|
||||
$wgAuthenticationTokenVersion = "1";
|
||||
|
|
|
|||
Loading…
Reference in a new issue