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