Skip to content
Snippets Groups Projects
Commit b527569b authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

update configuration files

parent a97ef556
No related branches found
No related tags found
No related merge requests found
......@@ -61,13 +61,17 @@ server {
proxy_pass http://node/api;
}
location /ws {
location /ws/ {
proxy_pass http://node/;
}
# frontend location
location / {
proxy_pass http://frontend:5000/;
proxy_pass http://frontend:3000/;
}
location /mongo-express/ {
proxy_pass http://mongo-express:8081/;
}
}
......
/** Example configuration file for VILLASnode.
*
* The syntax of this file is similar to JSON.
* A detailed description of the format can be found here:
* http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files
*
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
* @license GNU General Public License (version 3)
*
* VILLASnode
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************************/
stats = 10;
hugepages = 1000;
nodes = {
sig = {
type = "signal",
signal = "mixed",
values = 5,
rate = 20
},
ws_sig = {
type = "websocket",
}
reserver = {
type = "mqtt"
format = "protobuf",
username = "guest",
password = "guest",
host = "137.226.248.103",
port = 1883,
publish = "reserve-dpsim-in",
subscribe = "reserve-dpsim-out",
},
lo = {
type = "mqtt"
format = "villas.human",
username = "guest",
password = "guest",
host = "137.226.248.103",
port = 1883,
publish = "lo",
subscribe = "lo",
},
ws_reserver = {
type = "websocket"
hooks = (
{ type = "stats" }
)
},
ws_lo = {
type = "websocket"
hooks = (
{ type = "stats" }
)
}
};
############ List of paths ############
paths = (
{
in = "sig",
out = "ws_sig"
},
{
in = "ws_lo",
out = "lo"
},
{
in = "lo",
out = "ws_lo"
},
{
in = "reserver",
out = "ws_reserver",
reverse = true
}
);
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