fixed the runner

This commit is contained in:
vickytechkey 2026-08-09 07:28:02 +05:30
parent d59ff36c58
commit eefcf2cc5e
2 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,6 @@
services:
runner:
image: code.forgejo.org/forgejo/runner:3.0.0
image: code.forgejo.org/forgejo/runner:3.3.0
container_name: forgejo-runner
user: "0:0"
volumes:
@ -9,6 +9,7 @@ services:
environment:
- FORGEJO_INSTANCE_URL=http://16.113.57.127:3000
- FORGEJO_RUNNER_REGISTRATION_TOKEN=${FORGEJO_RUNNER_REGISTRATION_TOKEN}
- DOCKER_API_VERSION=1.44
restart: unless-stopped
entrypoint: |
sh -c "
@ -20,7 +21,7 @@ services:
"
runner2:
image: code.forgejo.org/forgejo/runner:3.0.0
image: code.forgejo.org/forgejo/runner:3.3.0
container_name: forgejo-runner2
user: "0:0"
volumes:
@ -29,6 +30,7 @@ services:
environment:
- FORGEJO_INSTANCE_URL=http://16.113.57.127:3000
- FORGEJO_RUNNER_REGISTRATION_TOKEN=${FORGEJO_RUNNER_REGISTRATION_TOKEN}
- DOCKER_API_VERSION=1.44
restart: unless-stopped
entrypoint: |
sh -c "

View file

@ -15,8 +15,8 @@ services:
- FORGEJO__database__NAME=${FORGEJO_DB_NAME}
- FORGEJO__database__USER=${FORGEJO_DB_USER}
- FORGEJO__database__PASSWD=${FORGEJO_DB_PASSWORD}
- FORGEJO__database__MAX_OPEN_CONNS=5
- FORGEJO__database__MAX_IDLE_CONNS=5
- FORGEJO__database__MAX_OPEN_CONNS=20
- FORGEJO__database__MAX_IDLE_CONNS=20
- FORGEJO__database__CONN_MAX_LIFETIME=0
# Disable installer screen since we configure via environment/app.ini