docs(README): add example
Some checks failed
Build / build-amd64 (push) Successful in 7m59s
Markdown linter / markdown-link-checker (push) Failing after 26s
Markdown linter / markdown-lint (push) Failing after 12s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 13s
Build / build-arm64 (push) Successful in 10m31s

This commit is contained in:
Markus Pesch 2025-05-06 22:18:42 +02:00
parent 3afb5a8ebf
commit b8e540a75b
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 23 additions and 0 deletions

View File

@ -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). 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/). 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
```

View File

@ -1,5 +1,16 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"fileMatch": ["^README\\.md$"],
"matchStrings": [
"VERSION=(?<currentValue>.*)"
],
"depNameTemplate": "volker.raschek/docker-compose",
"datasourceTemplate": "docker",
"registryUrlTemplate": "https://git.cryptic.systems"
}
],
"extends": [ "extends": [
"local>volker.raschek/renovate-config:default#master", "local>volker.raschek/renovate-config:default#master",
"local>volker.raschek/renovate-config:container#master", "local>volker.raschek/renovate-config:container#master",