Skip to content
Snippets Groups Projects
Commit cc6adeaf authored by Rodrigo Goncalves's avatar Rodrigo Goncalves Committed by Guilherme Arthur Gerônimo
Browse files

Fix for environment variable names for tikiwiki db access

parent e9224c17
No related branches found
No related tags found
1 merge request!20Resolve "Data ingress for context information for tiki-wiki"
This commit is part of merge request !20. Comments created here will be created in the context of that merge request.
......@@ -25,9 +25,9 @@ MONGO_DATABASE=smartdatacontext
MONGO_HOST=mongo
# TikiWiki
TIKIWIKIDB_HOST=172.18.0.1
TIKIWIKIDB_PORT=3307
TIKIWIDB_DATABASE=tikiwiki
TIKIWIKIDB_HOST=tikiwikidb-test
TIKIWIKIDB_PORT=3306
TIKIWIKIDB_DATABASE=tikiwiki
TIKIWIKDB_USERNAME=tikiwiki
TIKIWIKIDB_PASSWORD=tikiwiki
......
......@@ -45,7 +45,7 @@ class TikiWikiDB
{
$host = getenv('TIKIWIKIDB_HOST') ?: '127.0.0.1';
$port = getenv('TIKIWIKIDB_PORT') ?: '3306';
$database = getenv('TIKIWIDB_DATABASE') ?: 'tikiwiki';
$database = getenv('TIKIWIKIDB_DATABASE') ?: 'tikiwiki';
$username = getenv('TIKIWIKDB_USERNAME') ?: 'tikiwiki';
$password = getenv('TIKIWIKIDB_PASSWORD') ?: 'tikiwiki';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment