current state: Not Working... at all

I was tweaking the entrypoint and now its like it just randomly drops env-vars or fails to read them *no reason* despite them being confirmed to exist via other methods (manual running of commands within container, sanity checking in the entrypoint)
This commit is contained in:
Merith-TK 2024-12-26 18:15:54 +00:00
parent c7098ae0f6
commit 048450dee9
4 changed files with 101 additions and 62 deletions

View file

@ -78,20 +78,15 @@ services:
FORGEJO_SECRET: "02f8e8ed1bd08d55338026d04b5513684ff23c1f" # shared secret, must match Forgejo's, overrides RUNNER_TOKEN
RUNNER_TOKEN: ${RUNNER_TOKEN} # token obtained from Forgejo web interface
RUNNER__CONFIG_FILE: config.yml # defaults to /data/config.yml
RUNNER__NAME: forgejo-runner # defaults to forgejo-runner
RUNNER__RUNNER__FILE: .runner # defaults to /data/runner.json
RUNNER__CONTAINER__PRIVILEGED: "true" # defaults to false for security reasons
RUNNER__CONTAINER_OPTIONS: -v /certs/client:/certs/client:ro # needed for TLS
RUNNER__CONTAINER__DOCKER_HOST: "tcp://docker:2376" # defaults to "-", an available docker host will automatically be found
RUNNER__RUNNER__INSECURE: false
RUNNER__RUNNER__ENVS: |
DOCKER_HOST=tcp://docker:2376
DOCKER_TLS_VERIFY=1
DOCKER_CERT_PATH=/certs/client # defaults to empty
RUNNER__RUNNER__LABELS: |
"docker:docker://code.forgejo.org/oci/node:20-bookworm"
DEBUG: "true" # defaults to false, set to true to enable debug logging in the entrypoint
SKIP_WAIT: "false" # defaults to false, set to true to skip the 10 second wait to allow for forgejo and docker-in-docker to start
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: /certs/client
RUNNER__log__LEVEL: "debug"
RUNNER__container__PRIVILEGED: "true"
RUNNER__runner__LABELS: |
docker:docker://code.forgejo.org/oci/node:20-bookworm
DEBUG: "true"
SKIP_WAIT: "false"
SLEEP_DEBUG: "false" # toggles wether to sleep indefinitely after starting the runner