Created "loadmodules" args for loading ".so" modules into EchoVault.

Moved types associated with embedded commands extension into api_admin.go file and deleted types.go file as it's no longer necessary.
Updated docker-compose and Dockerfile.dev to pass .so modules to load on startup.
Volumes folder is no longer ignores except for the nodes subfolder.
This commit is contained in:
Kelvin Clement Mwinuka
2024-04-30 12:17:30 +08:00
parent d9d9160dc4
commit 000115ceb0
10 changed files with 129 additions and 105 deletions

View File

@@ -41,3 +41,6 @@ CMD "./server" \
"--cert-key-pair=${CERT_KEY_PAIR_2}" \
# List of client certs
"--client-ca=${CLIENT_CA_1}" \
# List of plugins to load on startup
"--loadmodule=${MODULE_1}" \
"--loadmodule=${MODULE_2}" \