Skip to main content
SpringWinter can build a supported web server or worker from a GitHub Dockerfile, and a web server can use a public container image. It does not import arbitrary Docker Compose stacks. Translate each process and data dependency into a reviewed supported resource before deploying.

Suitability and prerequisites

This path fits unprivileged container applications that can use the platform’s network and durable services. Check the compatibility matrix for private registries, GPUs, privileged workloads, local volumes and other restrictions. A Docker image starting on your laptop does not prove it fits AWS runtime architecture or task limits. You need a SpringWinter account, a verified AWS connection, a repository and lockfiles for source builds, and GitHub authorization. A tagged or digested public web-server image can avoid a GitHub build. Workers require the source fields in their current contract; do not assume public-image worker creation is exposed.

Architecture

Compute tasks can be replaced. Local files and task volumes are temporary. A Compose volume declaration does not become a shared persistent volume after translation.

Inspect a Compose application

For every service, record its role, image/build source, command, internal and public ports, environment names, volumes, startup dependency and required data. Then classify it: Use the upstream application’s versioned deployment documentation. Do not silently drop services, startup scripts, required mounted configuration or license restrictions to make it appear compatible.

Build context and Dockerfile are different paths

Docker COPY reads from the build context. SpringWinter’s root_directory chooses that context; dockerfile_path remains relative to the repository root. For the public React/FastAPI template in its original monorepo: Reproduce that build from the template checkout root:
Read Docker build contexts for how COPY, .dockerignore and context boundaries work. A context error is not fixed by adding credentials to the image.

Working examples and deployment methods

Use a new checkout of templates v0.1.0. The five examples include committed Dockerfiles and locked dependencies. Follow each README for unit tests before building. Unit tests use fake dependencies or explicitly unreachable test targets, not existing databases. For the dashboard, select a web server or worker, choose its supported source, set context and command, and configure required variables privately. Public image web servers have runtime settings only. For GitHub builds, build and runtime variables are separate. Declare matching Dockerfile ARG instructions for build settings, and do not use those settings as a secret channel. For Codex, Claude Code or Cursor, use the agent guide and approve the complete translated architecture first. REST automation must use the current resource API, not a guessed Compose endpoint. A command override replaces the image command; review the image entrypoint before relying on the result.

Verify application behavior

Observe the exact workflow. Confirm the running revision, task health, returned HTTPS URL and representative application behavior. For a worker, verify a harmless synthetic job and durable result. For stateful apps, verify promised state after approved task replacement and old-task drain. See deployment troubleshooting before retrying or widening permissions.

Production, costs and cleanup

Pin images, scan dependencies, run as an unprivileged user when possible and keep secrets out of build layers. Add authentication before exposing a first-run administrator setup. Backups and restore tests are separate from the image build. Estimate all translated resources with cost estimation, including compute, shared load balancing, data services, builds, logs and transfer. One Compose file does not imply one resource’s cost. There is no universal Docker hosting price. Approve cleanup in dependency order and decide whether data snapshots and objects must remain. No AWS deployment success is inferred from a successful local or hosted image build.

Questions

Can I paste Compose YAML into the API? No. This guide maps supported pieces individually and stops at unsupported requirements. Can I mount the Docker socket? This is not a supported general container runtime feature. Use a suitable isolated build/compute service instead. Related: Next.js, React and FastAPI, Node.js and Rails, workers.