@wtfalch/foundry 0.16.10 → 0.16.12
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.
|
@@ -2421,7 +2421,10 @@ async function provisionPlatformArchon(context, deps) {
|
|
|
2421
2421
|
throw new Error(`platform:archon: app ${appId} lost its AUTH_APP_KEY between two reads`);
|
|
2422
2422
|
}
|
|
2423
2423
|
envs.push({ key: 'AUTH_APP_KEY', value: appKey });
|
|
2424
|
-
|
|
2424
|
+
// A value with a line break (the PEM management keys) must be flagged:
|
|
2425
|
+
// unflagged, Coolify writes it into `.env` unquoted and the container never
|
|
2426
|
+
// starts.
|
|
2427
|
+
envs.push(...inputs.envs.map((e) => (e.value.includes('\n') ? { ...e, multiline: true } : e)));
|
|
2425
2428
|
const changed = await envsDiffer(deps.coolify, appId, envs);
|
|
2426
2429
|
await deps.coolify.bulkUpsertEnvs(appId, envs);
|
|
2427
2430
|
// ---- register with the broker (#204) ---------------------------------------
|