Compare commits
6 Commits
5.1.0+12.3
...
renovate/l
| Author | SHA1 | Date | |
|---|---|---|---|
| f842fcf97c | |||
| 7f90d5fcfc | |||
| 4844fa17c7 | |||
| ba13136159 | |||
| 4070f092fb | |||
| 65cdf55374 |
15
README.md
15
README.md
@ -4,6 +4,21 @@
|
||||
|
||||
!! WARNING: This recipe should be used with great caution, since it has access to the docker daemon. We recommend running it in a seperate vm or host !!
|
||||
|
||||
<!-- metadata -->
|
||||
* **Category**: Utilities
|
||||
* **Status**: testing
|
||||
* **LICENSE**: [GPLv3-or-later](https://code.forgejo.org/forgejo/runner/src/branch/main/LICENSE)
|
||||
* **Maintainer**: [@p4u1](https://git.coopcloud.tech/p4u1)
|
||||
* **Repository**: [code.forgejo.org/forgejo/runner](https://code.forgejo.org/forgejo/runner)
|
||||
* **Documentation**: [forgejo.org/docs/next/admin/actions/](https://forgejo.org/docs/next/admin/actions/)
|
||||
* **Image**: [`runner`](https://code.forgejo.org/forgejo/-/packages/container/runner/11), 4, upstream
|
||||
* **Healthcheck**: Yes
|
||||
* **Backups**: N/A
|
||||
* **Email**: N/A
|
||||
* **Tests**: 0
|
||||
* **SSO**: N/A
|
||||
<!-- endmetadata -->
|
||||
|
||||
## Registering
|
||||
|
||||
The forgejo runner needs to be registered at the forgejo instance. For that see the [official documentation](https://forgejo.org/docs/latest/admin/runner-installation/#standard-registration) on how to create a token.
|
||||
|
||||
@ -2,7 +2,7 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: 'code.forgejo.org/forgejo/runner:12.3.0'
|
||||
image: 'code.forgejo.org/forgejo/runner:12.6.0'
|
||||
environment:
|
||||
- DOCKER_HOST=tcp://socket-proxy:2375
|
||||
configs:
|
||||
@ -15,7 +15,7 @@ services:
|
||||
- "data:/data"
|
||||
deploy:
|
||||
labels:
|
||||
- "coop-cloud.${STACK_NAME}.version=5.1.0+12.3.0"
|
||||
- "coop-cloud.${STACK_NAME}.version=5.3.0+12.6.0"
|
||||
networks:
|
||||
- internal
|
||||
ports:
|
||||
@ -23,7 +23,7 @@ services:
|
||||
entrypoint: /custom-entrypoint.sh
|
||||
|
||||
socket-proxy:
|
||||
image: lscr.io/linuxserver/socket-proxy:3.2.10
|
||||
image: lscr.io/linuxserver/socket-proxy:3.2.11
|
||||
environment:
|
||||
- PROXY_READ_TIMEOUT=5000
|
||||
- ALLOW_START=1
|
||||
|
||||
@ -9,6 +9,7 @@ runner:
|
||||
capacity: {{ env "RUNNER_CAPACITY" }}
|
||||
# Extra environment variables to run jobs.
|
||||
envs:
|
||||
RUNNER_NETWORK_NAME: {{ if eq (env "CONTAINER_NETWORK") "default" }}{{ env "STACK_NAME" }}_internal{{ else }}{{ env "CONTAINER_NETWORK" }}{{ end }}
|
||||
# A_TEST_ENV_NAME_1: a_test_env_value_1
|
||||
# A_TEST_ENV_NAME_2: a_test_env_value_2
|
||||
# Extra environment variables to run jobs from a file.
|
||||
|
||||
1
release/5.2.0+12.3.0
Normal file
1
release/5.2.0+12.3.0
Normal file
@ -0,0 +1 @@
|
||||
add RUNNER_NETWORK_NAME env to the runner
|
||||
Reference in New Issue
Block a user