fixed the runner
This commit is contained in:
parent
d59ff36c58
commit
eefcf2cc5e
2 changed files with 6 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
services:
|
services:
|
||||||
runner:
|
runner:
|
||||||
image: code.forgejo.org/forgejo/runner:3.0.0
|
image: code.forgejo.org/forgejo/runner:3.3.0
|
||||||
container_name: forgejo-runner
|
container_name: forgejo-runner
|
||||||
user: "0:0"
|
user: "0:0"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
@ -9,6 +9,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- FORGEJO_INSTANCE_URL=http://16.113.57.127:3000
|
- FORGEJO_INSTANCE_URL=http://16.113.57.127:3000
|
||||||
- FORGEJO_RUNNER_REGISTRATION_TOKEN=${FORGEJO_RUNNER_REGISTRATION_TOKEN}
|
- FORGEJO_RUNNER_REGISTRATION_TOKEN=${FORGEJO_RUNNER_REGISTRATION_TOKEN}
|
||||||
|
- DOCKER_API_VERSION=1.44
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
entrypoint: |
|
entrypoint: |
|
||||||
sh -c "
|
sh -c "
|
||||||
|
|
@ -20,7 +21,7 @@ services:
|
||||||
"
|
"
|
||||||
|
|
||||||
runner2:
|
runner2:
|
||||||
image: code.forgejo.org/forgejo/runner:3.0.0
|
image: code.forgejo.org/forgejo/runner:3.3.0
|
||||||
container_name: forgejo-runner2
|
container_name: forgejo-runner2
|
||||||
user: "0:0"
|
user: "0:0"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
@ -29,6 +30,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- FORGEJO_INSTANCE_URL=http://16.113.57.127:3000
|
- FORGEJO_INSTANCE_URL=http://16.113.57.127:3000
|
||||||
- FORGEJO_RUNNER_REGISTRATION_TOKEN=${FORGEJO_RUNNER_REGISTRATION_TOKEN}
|
- FORGEJO_RUNNER_REGISTRATION_TOKEN=${FORGEJO_RUNNER_REGISTRATION_TOKEN}
|
||||||
|
- DOCKER_API_VERSION=1.44
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
entrypoint: |
|
entrypoint: |
|
||||||
sh -c "
|
sh -c "
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ services:
|
||||||
- FORGEJO__database__NAME=${FORGEJO_DB_NAME}
|
- FORGEJO__database__NAME=${FORGEJO_DB_NAME}
|
||||||
- FORGEJO__database__USER=${FORGEJO_DB_USER}
|
- FORGEJO__database__USER=${FORGEJO_DB_USER}
|
||||||
- FORGEJO__database__PASSWD=${FORGEJO_DB_PASSWORD}
|
- FORGEJO__database__PASSWD=${FORGEJO_DB_PASSWORD}
|
||||||
- FORGEJO__database__MAX_OPEN_CONNS=5
|
- FORGEJO__database__MAX_OPEN_CONNS=20
|
||||||
- FORGEJO__database__MAX_IDLE_CONNS=5
|
- FORGEJO__database__MAX_IDLE_CONNS=20
|
||||||
- FORGEJO__database__CONN_MAX_LIFETIME=0
|
- FORGEJO__database__CONN_MAX_LIFETIME=0
|
||||||
|
|
||||||
# Disable installer screen since we configure via environment/app.ini
|
# Disable installer screen since we configure via environment/app.ini
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue