@arkhera30/cli 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2859,6 +2859,17 @@ function buildComposeEnv(runtime, ports, slotDataPath) {
|
|
|
2859
2859
|
...process.env,
|
|
2860
2860
|
HORUS_RUNTIME: runtime.name,
|
|
2861
2861
|
TEST_DATA_PATH: slotDataPath,
|
|
2862
|
+
// Override base compose port variables so the base file binds to test ports.
|
|
2863
|
+
// Without these, Docker Compose merges (appends) the ports lists from both
|
|
2864
|
+
// files, causing both the production port (e.g. 8100) and the test port
|
|
2865
|
+
// (e.g. 9100) to be bound — failing if the production stack is already up.
|
|
2866
|
+
ANVIL_PORT: String(ports.anvil),
|
|
2867
|
+
FORGE_PORT: String(ports.forge),
|
|
2868
|
+
VAULT_MCP_PORT: String(ports.vault_mcp),
|
|
2869
|
+
VAULT_ROUTER_PORT: String(ports.vault_router),
|
|
2870
|
+
VAULT_REST_PORT_PERSONAL: String(ports.vault_svc),
|
|
2871
|
+
TYPESENSE_PORT: String(ports.typesense),
|
|
2872
|
+
// TEST_PORT_* vars for overlay reference (harmless duplicates after above fix)
|
|
2862
2873
|
TEST_PORT_ANVIL: String(ports.anvil),
|
|
2863
2874
|
TEST_PORT_TYPESENSE: String(ports.typesense),
|
|
2864
2875
|
TEST_PORT_VAULT_SVC: String(ports.vault_svc),
|