GitBook: [#143] reflecting the deployment config changes (removed redundant square brackets)

This commit is contained in:
boneyard93501 2022-07-08 10:10:05 +00:00 committed by gitbook-bot
parent 4e18ec1279
commit cd7b978d26
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF

View File

@ -26,16 +26,16 @@ Consider the following service configuration JSON template:
"name": "module_name", "name": "module_name",
"path": "/path/to/wasm", "path": "/path/to/wasm",
"mounted_binaries": [["command_line_tool", "/path/to/command_line_tool"]], "mounted_binaries": [["command_line_tool", "/path/to/command_line_tool"]],
"logger_enabled": [true] "logger_enabled": true
}, },
{ {
"name": "second_module_name", "name": "second_module_name",
"path": "path/to/second_module.wasm", "path": "path/to/second_module.wasm",
"logger_enabled": [true], "logger_enabled": true,
"mapped_dirs": [["/path/to/dir"]], "mapped_dirs": [["/path/to/dir"]],
"preopened_files": [["/path/to/file"]], "preopened_files": ["/path/to/file"],
"envs": [["env1", "env2"]], "envs": [["env1", "env2"]],
"max_heap_size": ["100Mb"] "max_heap_size": "100Mb"
} }
] ]
}, },
@ -44,7 +44,7 @@ Consider the following service configuration JSON template:
{ {
"name": "third_module", "name": "third_module",
"path": "./artifacts/mean_service.wasm", "path": "./artifacts/mean_service.wasm",
"logger_enabled": [true] "logger_enabled": true
} }
] ]
} }