@replayio/app-building 1.1.0 → 1.2.0
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/container.js +0 -3
- package/dist/fly.js +4 -3
- package/package.json +1 -1
package/dist/container.js
CHANGED
|
@@ -175,9 +175,6 @@ export async function startRemoteContainer(config, repo) {
|
|
|
175
175
|
if (config.webhookUrl)
|
|
176
176
|
remoteExtra.WEBHOOK_URL = config.webhookUrl;
|
|
177
177
|
const containerEnv = buildContainerEnv(repo, config.envVars, remoteExtra);
|
|
178
|
-
// Remove Fly-specific vars from container env (not needed inside)
|
|
179
|
-
delete containerEnv.FLY_API_TOKEN;
|
|
180
|
-
delete containerEnv.FLY_APP_NAME;
|
|
181
178
|
// Log existing machines (but don't destroy — multiple containers may run concurrently)
|
|
182
179
|
const existing = await listMachines(config.flyApp, config.flyToken);
|
|
183
180
|
if (existing.length > 0) {
|
package/dist/fly.js
CHANGED
|
@@ -63,11 +63,12 @@ export async function createMachine(app, token, image, env, name) {
|
|
|
63
63
|
config: {
|
|
64
64
|
image,
|
|
65
65
|
env,
|
|
66
|
+
auto_destroy: true,
|
|
66
67
|
restart: { policy: "no" },
|
|
67
68
|
guest: {
|
|
68
|
-
cpu_kind: "
|
|
69
|
-
cpus:
|
|
70
|
-
memory_mb:
|
|
69
|
+
cpu_kind: "performance",
|
|
70
|
+
cpus: 16,
|
|
71
|
+
memory_mb: 32768,
|
|
71
72
|
},
|
|
72
73
|
services: [
|
|
73
74
|
{
|