Rruntipi

runtipi/native-docker

Convert Runtipi docker-compose.json apps to docker-compose.yml with x-runtipi metadata

migrationruntipidocker-composeyaml
Public
3 executions
1 stars
How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

Native Docker Codemod

This Codemod package converts Runtipi docker-compose.json app definitions to docker-compose.yml files that use the new x-runtipi extension block described in native-docker.md.

Before writing a file, the codemod validates the generated compose document and aborts if it does not match the expected Runtipi YAML shape.

Usage

Run from the app store root:

bash

That default run is a dry-run. To write files:

bash

Convert a single app:

bash

Overwrite existing docker-compose.yml files:

bash

Delete docker-compose.json files after a successful write:

bash

If you are not running the command from the repo root, pass the app store path explicitly:

bash

Ready to contribute?

Build your own codemod and share it with the community.