Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Demo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ACS
Public
VILLASframework
Demo
Commits
b527569b
Commit
b527569b
authored
6 years ago
by
Steffen Vogel
Browse files
Options
Downloads
Patches
Plain Diff
update configuration files
parent
a97ef556
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
etc/nginx/villas.conf
+6
-2
6 additions, 2 deletions
etc/nginx/villas.conf
etc/node/demo.conf
+102
-0
102 additions, 0 deletions
etc/node/demo.conf
with
108 additions
and
2 deletions
etc/nginx/villas.conf
+
6
−
2
View file @
b527569b
...
...
@@ -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
/;
}
}
...
...
This diff is collapsed.
Click to expand it.
etc/node/demo.conf
0 → 100644
+
102
−
0
View file @
b527569b
/**
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
}
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment