Support passing container options.
This commit is contained in:
parent
2fec943879
commit
0e7410f10c
@ -50,15 +50,19 @@ services:
|
|||||||
- ./postgres:/var/lib/postgresql/data
|
- ./postgres:/var/lib/postgresql/data
|
||||||
|
|
||||||
runner:
|
runner:
|
||||||
image: cerc/act-runner:local
|
image: cerc/act_runner:local
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- GITEA_INSTANCE_INSECURE=1
|
- GITEA_INSTANCE_INSECURE=1
|
||||||
- GITEA_RUNNER_REGISTRATION_TOKEN=eMdEwIzSo87nBh0UFWZlbp308j6TNWr3WhWxQqIc
|
- GITEA_RUNNER_REGISTRATION_TOKEN=eMdEwIzSo87nBh0UFWZlbp308j6TNWr3WhWxQqIc
|
||||||
- GITEA_INSTANCE_URL=http://host.docker.internal:3000
|
- GITEA_INSTANCE_URL=http://gitea.local:3000
|
||||||
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://cerc/act-runner-task-executor:local,ubuntu-22.04:docker://cerc/act-runner-task-executor:local
|
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://cerc/act_runner-task-executor:local,ubuntu-22.04:docker://cerc/act_runner-task-executor:local
|
||||||
|
- GITEA_RUNNER_DOCKER_CONTAINER_OPTIONS=--add-host=gitea.local:host-gateway
|
||||||
|
- GITEA_RUNNER_DOCKER_PRIVILEGED=true
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
|
extra_hosts:
|
||||||
|
- "gitea.local:host-gateway"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- ./act_runner:/data
|
- ./act_runner:/data
|
||||||
|
Loading…
Reference in New Issue
Block a user