fix email_user var in docker

This commit is contained in:
wh1te909 2020-06-30 08:00:38 +00:00
parent fb50d7f0d0
commit 98ca5e5c55
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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