disabled TLS in example,

not needed for a closed docker network
This commit is contained in:
Merith 2024-09-25 17:10:50 -07:00
parent c1654806c5
commit 1e6e1cb3c2
2 changed files with 15 additions and 17 deletions

View file

@ -7,7 +7,7 @@
# openssl rand -hex 20
#
# Replace all occurences of {SHARED_SECRET} below with the output.
#
#
# NOTE: a token obtained from the Forgejo web interface cannot be used
# as a shared secret.
#
@ -29,7 +29,7 @@ services:
networks:
- forgejo
environment:
DOCKER_TLS_CERTDIR: /certs
DOCKER_TLS_CERTDIR: "" # set to "certs" to use the TLS certificates, also update existing runner configs to use port 2376
DOCKER_HOST: docker-in-docker
volumes:
- docker_certs:/certs
@ -104,5 +104,5 @@ services:
FORGEJO_SECRET: "{SHARED_SECRET}" # shared secret, must match Forgejo's
RUNNER_FILE: runner-rootless.json # defaults to /data/runner.json
RUNNER_NAME: forgejo-runner # defaults to forgejo-runner, used for registration
RUNNER_NAME: forgejo-runner-rootless # defaults to forgejo-runner, used for registration
RUNNER_TOKEN: "${RUNNER_TOKEN}"