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