From b8e540a75be57c82acbcf4902c91f2ea93b3d57a Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 6 May 2025 22:18:42 +0200 Subject: [PATCH] docs(README): add example --- README.md | 12 ++++++++++++ renovate.json | 11 +++++++++++ 2 files changed, 23 insertions(+) diff --git a/README.md b/README.md index 23676e6..9c088d6 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,15 @@ goal of this project is to package the binary `docker-compose` as container imag found in the upstream project of [docker/compose](https://github.com/docker/compose). The workflow or how `docker-compose` can in general be used is documented [here](https://docs.docker.com/compose/). +Nevertheless, here are some examples of how to use the container image. + +```bash +IMAGE_VERSION=2.34.0 +docker run \ + --rm \ + --volume ./path/to/docker-compose.yml:/workdir/docker-compose.yml:ro \ + --volume /var/run/docker.sock:/var/run/docker.sock \ + --workdir /workdir \ + git.cryptic.systems/volker.raschek/docker-compose:${IMAGE_VERSION} \ + ps +``` diff --git a/renovate.json b/renovate.json index 82db3f7..1613f00 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,16 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "customManagers": [ + { + "fileMatch": ["^README\\.md$"], + "matchStrings": [ + "VERSION=(?.*)" + ], + "depNameTemplate": "volker.raschek/docker-compose", + "datasourceTemplate": "docker", + "registryUrlTemplate": "https://git.cryptic.systems" + } + ], "extends": [ "local>volker.raschek/renovate-config:default#master", "local>volker.raschek/renovate-config:container#master",