1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-07-27 17:28:35 +00:00

docker-compose example: do not use depends_on

Wait for the .runner file to exist instead as a proof that the
runner is ready to accept a job
This commit is contained in:
Earl Warren 2024-04-07 20:34:23 +02:00
parent e385811e74
commit 82b6df801f
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 4 additions and 7 deletions

View file

@ -7,9 +7,6 @@ services:
image: alpine:3.19
links:
- forgejo
depends_on:
runner-register:
condition: service_completed_successfully
command: >-
sh -ec '
apk add --quiet git curl jq ;