mirror of
https://github.com/caprover/caprover
synced 2026-09-24 23:55:36 +00:00
Added a custom initial password to installer
This commit is contained in:
@@ -67,6 +67,13 @@ module.exports.install = function () {
|
||||
value: '1'
|
||||
});
|
||||
|
||||
if (EnvVar.DEFAULT_PASSWORD) {
|
||||
env.push({
|
||||
key: EnvVar.keys.DEFAULT_PASSWORD,
|
||||
value: EnvVar.DEFAULT_PASSWORD
|
||||
});
|
||||
}
|
||||
|
||||
if (EnvVar.CAPTAIN_DOCKER_API) {
|
||||
env.push({
|
||||
key: EnvVar.keys.CAPTAIN_DOCKER_API,
|
||||
|
||||
@@ -3,6 +3,7 @@ module.exports =
|
||||
keys: {
|
||||
CAPTAIN_DOCKER_API: 'CAPTAIN_DOCKER_API',
|
||||
CAPTAIN_IS_DEBUG: 'CAPTAIN_IS_DEBUG',
|
||||
DEFAULT_PASSWORD: 'DEFAULT_PASSWORD',
|
||||
IS_CAPTAIN_INSTANCE: 'IS_CAPTAIN_INSTANCE'
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user