Skip to content

Commit

Permalink
Merge pull request #11 from eimink/master
Browse files Browse the repository at this point in the history
Made admin user and pass setting possible via environment variable.
  • Loading branch information
reaby authored Dec 17, 2019
2 parents 72fc49f + ec037b5 commit 08309c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
npm-debug.log
.idea
.github
.git
4 changes: 2 additions & 2 deletions config-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ module.exports = {
{
"id": 1,
"displayName": "Administrator",
"username": "admin",
"password": "admin",
"username": process.env.ADMIN_USER || "admin",
"password": process.env.ADMIN_PASS || "admin",
"permissions": {
"isAdmin": true,
"dashboard": {
Expand Down

0 comments on commit 08309c9

Please sign in to comment.