Skip to content

[rust-launcher] Use a proper templating engine for docker compose templates #2630

@netrome

Description

@netrome

Background

In https://github.com/near/mpc/pull/2621/changes#r2999886877 - we use plain string replacement to render docker compose templates. This makes it very easy for typos to go undetected. If we adopted a proper templating engine like Askama, any variable typo would be a compiler error.

User Story

As a developer I want the type system to help me catch typos.

Acceptance Criteria

Any typo in an injected variable in a docker compose template results in a compiler error.

Resources & Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions