Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VILLASweb-backend-node
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
VILLASweb-backend-node
Merge requests
!10
Resolve "Add dynamic configuration files"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Add dynamic configuration files"
27-add-dynamic-configuration-files
into
develop
Overview
0
Commits
7
Pipelines
0
Changes
9
Merged
Markus Grigull
requested to merge
27-add-dynamic-configuration-files
into
develop
6 years ago
Overview
0
Commits
7
Pipelines
0
Changes
9
Expand
Closes
#27 (closed)
0
0
Merge request reports
Compare
develop
version 1
b32ddf39
6 years ago
develop (base)
and
latest version
latest version
d143f954
7 commits,
6 years ago
version 1
b32ddf39
6 commits,
6 years ago
9 files
+
281
−
140
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
config.js
→
config
/default
.js
+
10
−
26
Options
/**
* File:
config
.js
* File:
default
.js
* Author: Markus Grigull <mgrigull@eonerc.rwth-aachen.de>
* Date:
23
.0
6
.201
6
* Date:
10
.0
5
.201
8
*
* This file is part of VILLASweb-backend.
*
@@ -19,33 +19,17 @@
* along with VILLASweb-backend. If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/
'
use strict
'
;
module
.
exports
=
{
publicDir
:
'
../public
'
,
development
:
{
port
:
4000
,
databaseName
:
'
VILLAS
'
,
databaseURL
:
'
mongodb://localhost:27017/
'
,
amqpEndpoint
:
'
amqp://localhost
'
,
amqpUpdateRate
:
5
,
port
:
4000
,
secret
:
'
longsecretislong
'
,
logLevel
:
'
verbose
'
,
// possible values: error, warn, info, verbose or debug
admin
:
{
username
:
'
admin
'
,
password
:
'
admin
'
}
},
production
:
{
databaseName
:
'
VILLAS
'
,
databaseURL
:
'
mongodb://database:27017/
'
,
amqpEndpoint
:
'
amqp://rabbit
'
,
amqpEndpoint
:
'
amqp://localhost
'
,
amqpUpdateRate
:
60
,
port
:
4000
,
secret
:
'
longsecretislong
'
,
logLevel
:
'
warn
'
,
// possible values: error, warn, info, verbose or debug
logFile
:
'
villasweb-backend_log.txt
'
,
admin
:
{
username
:
'
admin
'
,
password
:
'
admin
'
}
}
logLevel
:
'
error
'
,
logFile
:
'
./log.txt
'
,
publicDir
:
'
../public
'
,
defaultAdmin
:
false
};
Loading