Support passing container options. #23

Merged
telackey merged 2 commits from telackey/opts into main 2023-03-28 03:27:59 +00:00
Showing only changes of commit ae4f4bfbff - Show all commits

View File

@ -50,13 +50,13 @@ services:
- ./postgres:/var/lib/postgresql/data
runner:
image: cerc/act_runner:local
image: cerc/act-runner:local
restart: always
environment:
- GITEA_INSTANCE_INSECURE=1
- GITEA_RUNNER_REGISTRATION_TOKEN=eMdEwIzSo87nBh0UFWZlbp308j6TNWr3WhWxQqIc
- 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:
@ -65,4 +65,4 @@ services:
- "gitea.local:host-gateway"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./act_runner:/data
- ./act-runner:/data