Getting Started / Edge Containers & Full-Stack

Edge Containers & Full-Stack

Run Laravel, PHP, Elixir/Phoenix, Gleam, Python, Node, Bun, Deno, Go, Rust, Ruby, Java/Kotlin/Scala/Clojure, .NET, Dart, Swift, Zig, Crystal, Haskell, C/C++, or any custom Dockerfile in isolated per-project Linux microVM containers.

How Weond Edge Containers works

Weond Edge Containers brings full Linux compatibility to the edge without managing VMs, Kubernetes clusters, or container registries. Each project compiles into a cryptographically verified linux/amd64 OCI image and runs inside a dedicated microVM orchestrated by an isolated edge container supervisor.

  • Full Linux syscall & binary support: Run PHP extensions, native Python wheels, Prisma/SQL drivers, image processors, JVM/CLR runtimes, or compiled Go and Rust binaries unchanged.
  • Zero-Dockerfile or Bring-Your-Own Dockerfile: Commit a Dockerfile (or Containerfile) for full control, or push application source code directly and let Weond synthesize a hardened multi-stage production image automatically.
  • HTTP, SSE & WebSockets included: Incoming HTTPS requests, Server-Sent Events, and bidirectional WebSocket upgrades (101 Switching Protocols) stream directly to your container port with automatic TLS 1.3 termination at the edge.

Auto-detected full-stack languages & Dockerfiles

If your repository does not contain a Dockerfile, the Weond build sandbox inspects your manifest files and builds a minimal, non-root production OCI image:

StackDetected FilesProduction Runtime
Laravel / Symfony / PHPartisan, composer.json, index.phpFrankenPHP (PHP 8.3, smart extension detection for pdo_pgsql, pdo_mysql, redis, intl, zip, gd, automatic HTTPS headers, and Vite asset build when package.json is present)
Django / FastAPI / Flask / Streamlit / Litestarmanage.py, pyproject.toml, requirements.txt, uv.lock, poetry.lock, PipfilePython 3.12 Slim with uv, poetry, pipenv, or pip — running Gunicorn, Uvicorn, or Streamlit headless server
Express / NestJS / Node / Bun / Deno / Freshpackage.json, bun.lockb, deno.json(c)Node 22 Slim (non-root), Bun 1.x, or Deno 2 executing your build & start scripts
Elixir / Phoenix / Gleammix.exs, mix.lock, gleam.tomlElixir 1.17 Slim (mix release / mix phx.server with PHX_SERVER=true) or Gleam erlang-shipment on Erlang 27 Slim
Go / Rust / Zig / Crystalgo.mod, Cargo.toml, build.zig, shard.ymlMulti-stage static/release Linux binary compiled into a minimal distroless or Alpine non-root image
Dart / Dart Frog & Swift / Vaporpubspec.yaml, Package.swiftDart AOT native executable (distroless non-root) or Swift 6 release binary with Vapor production serve flags
Ruby on Rails / RubyGemfile, config.ruRuby 3.3 Slim running Puma / Rails server in production mode
Java / Kotlin / Scala / Clojurepom.xml, build.gradle(.kts), build.sbt, deps.edn, project.cljMulti-stage Maven, Gradle, sbt, or Leiningen/deps.edn fat JAR on Eclipse Temurin 21 JRE (non-root)
.NET 8 (C# / F#)*.csproj, *.fsproj, *.sln.NET 8 SDK publish running on ASP.NET Core 8.0 non-root runtime
Haskell & C / C++*.cabal, stack.yaml, CMakeLists.txtMulti-stage Cabal (GHC 9.6) or GCC 14 + CMake/Ninja release binary on Debian Bookworm Slim (non-root)

Ports, start commands & WebSockets

Weond injects PORT (default 8080) and HOST=0.0.0.0 into every container environment. Your HTTP or WebSocket server must bind to 0.0.0.0:$PORT (not 127.0.0.1) so the edge supervisor can verify TCP readiness and forward requests.

Example — Custom Dockerfile binding $PORT
FROM node:22-slim
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY . .
ENV NODE_ENV=production PORT=8080
EXPOSE 8080
CMD ["node", "server.js"]
  • Container port: Configurable between 1 and 65535 during project creation or under Project Settings → Build & runtime.
  • Start command: Override the default container entrypoint (for example, uvicorn app.main:app --host 0.0.0.0 --port 8080) without editing your repository.
  • Proxy headers: Standard forwarding headers (X-Forwarded-Proto: https, X-Forwarded-Host, and TRUSTED_PROXIES=*) are set automatically so URL generators in Laravel, Django, Rails, and Express emit https:// links out of the box.

Instance tiers & scale-to-zero lifecycle

Edge Containers hibernate automatically after a period of inactivity (sleepAfter) so idle services do not burn compute around the clock, and wake automatically on the next incoming HTTP or WebSocket request (typically 1.5s–4s cold start depending on image size and framework boot time).

Compute LevelvCPUMemoryEphemeral DiskMinimum Plan
Level Nano1/16 vCPU256 MiB2 GBFree (2FA required)
Level Spark0.25 vCPU1 GiB4 GBPro
Level Core0.5 vCPU4 GiB8 GBPro
Level Pulse1 vCPU6 GiB12 GBTeam
Level Surge2 vCPU8 GiB16 GBScale
Level Apex4 vCPU12 GiB20 GBScale

Need zero cold starts on production endpoints? Configure a recurring Scheduled Cron Job (for example, */10 * * * * hitting /healthz) on paid plans to keep critical containers warm. On the Free plan, deploying an Edge Container requires a verified email address and active TOTP Two-Factor Authentication (2FA) in Account Settings (2FA remains required while a Free container project is active), and branch preview containers require a paid plan or a positive prepaid Workspace Credits balance.

External databases, Redis & ephemeral disk

Bring your own external database (Neon, Supabase, Upstash)

Weond does not provision default built-in SQLite or Postgres databases, and container disk is ephemeral across deploys and scale-to-zero restarts. Always store persistent relational data, sessions, queues, and user uploads in external managed services.

  • 1-Click Workspace Plugins: Connect Supabase (Postgres, Auth, Storage) or Upstash Redis (serverless cache, queues, and sessions) in Workspace → Plugins to sync credentials directly into your project.
  • Encrypted Environment Variables: Connect Neon Serverless Postgres, PlanetScale, Turso, MongoDB Atlas, or S3-compatible object storage by adding DATABASE_URL, REDIS_URL, or S3 keys in Project Settings → Environment Variables.
Laravel production environment variables (Neon / Supabase + Cookie or Redis session)
APP_ENV=production
APP_DEBUG=false
APP_KEY=base64:YOUR_GENERATED_32_BYTE_KEY
LOG_CHANNEL=stderr
SESSION_DRIVER=cookie
CACHE_STORE=database
DB_CONNECTION=pgsql
DB_URL=postgresql://user:pass@ep-cool-sky.us-east-2.aws.neon.tech/neondb?sslmode=require

Multi-tenant isolation & zero-trust builds

Every container deployment enforces strict tenant and project boundaries from git checkout through runtime execution:

  • Zero-trust CI builds & secret-safe image history: Container images are built in ephemeral sandboxes without access to platform registry tokens. Only public frontend build prefixes (NEXT_PUBLIC_*, VITE_*, PUBLIC_*, NUXT_PUBLIC_*, REACT_APP_*, ASTRO_PUBLIC_*, EXPO_PUBLIC_*, GATSBY_*, NODE_ENV, APP_ENV) are passed via --build-arg so sensitive database credentials and API keys are never recorded in plaintext OCI image history.
  • Isolated per-project BuildKit layer caching: Lockfile-scoped OCI layer caches are cryptographically bound to each project and repository, cutting subsequent container builds down to seconds without sharing cache layers across tenants.
  • Cryptographic provenance: Build artifacts are Ed25519-signed, every OCI layer is SHA-256 verified against its manifest before parallel registry upload, and symlinks, credential files, or path traversal entries are rejected.
  • Per-project isolation: Each project runs in its own isolated microVM and dedicated edge container supervisor with AES-256-GCM AAD-bound runtime secrets injected exclusively at container boot. Projects cannot inspect or reach other tenants' containers, memory, or private networks.