chore(docs): warning about the docker-compose example purpose (#489)

Fixes forgejo/runner#484

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/489
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
main
Earl Warren 2025-02-25 11:05:19 +00:00 committed by earl-warren
parent f6c2a77ef2
commit e4e7917eb3
No known key found for this signature in database
GPG Key ID: F128CBE6AB3A7201
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
## Docker compose with docker-in-docker
> **Warning** this example is just what it is: an example. It is not fit to be used in production. It shows how Forgejo, the Forgejo runner can work together with Docker in Docker. It is [tested to work in the CI](../../.forgejo/workflows/example-docker-compose.yml) and is best used as a reference, a source of inspiration.
The `compose-forgejo-and-runner.yml` compose file runs a Forgejo
instance and registers a `Forgejo runner`. A docker server is also
launched within a container (using