build_scripts: Extract deployment field from server configs to separate files for appimage and docker

This commit is contained in:
Shreya Malviya 2021-09-10 15:21:34 +05:30
parent dec2fc43c2
commit c46c02507f
4 changed files with 8 additions and 4 deletions

View File

@ -0,0 +1,3 @@
{
"deployment": "standard"
}

View File

@ -2,8 +2,7 @@
"data_dir": "~/.monkey_island", "data_dir": "~/.monkey_island",
"log_level": "DEBUG", "log_level": "DEBUG",
"environment": { "environment": {
"server_config": "password", "server_config": "password"
"deployment": "standard"
}, },
"mongodb": { "mongodb": {
"start_mongodb": true "start_mongodb": true

View File

@ -0,0 +1,3 @@
{
"deployment": "docker"
}

View File

@ -2,8 +2,7 @@
"data_dir": "/monkey_island_data", "data_dir": "/monkey_island_data",
"log_level": "DEBUG", "log_level": "DEBUG",
"environment": { "environment": {
"server_config": "password", "server_config": "password"
"deployment": "docker"
}, },
"mongodb": { "mongodb": {
"start_mongodb": false "start_mongodb": false