From 98ca5e5c5548a38b2ecf527903937347a7431d26 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Tue, 30 Jun 2020 08:00:38 +0000 Subject: [PATCH] fix email_user var in docker --- docker/.env.example | 1 + docker/meshcentral/entry.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/.env.example b/docker/.env.example index 5c69cdef..e516744e 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -1,6 +1,7 @@ MESH_HOST=mesh.example.com MESH_USER=mesh MESH_PASS=meshpass +EMAIL_USER=admin@example.com MONGODB_USER=mongouser MONGODB_PASSWORD=mongopass diff --git a/docker/meshcentral/entry.sh b/docker/meshcentral/entry.sh index 4f97a6d0..7c43b053 100644 --- a/docker/meshcentral/entry.sh +++ b/docker/meshcentral/entry.sh @@ -1,6 +1,6 @@ #!/bin/sh -node node_modules/meshcentral --createaccount ${MESH_USER} --pass ${MESH_PASS} --email ${EMAIL} +node node_modules/meshcentral --createaccount ${MESH_USER} --pass ${MESH_PASS} --email ${EMAIL_USER} node node_modules/meshcentral --adminaccount ${MESH_USER} FILE=/token/token.key