factory runner compose

This commit is contained in:
Christian Lempa 2023-07-05 14:08:18 +02:00
parent 898ceddd71
commit 012cca7cc0
2 changed files with 23 additions and 0 deletions

View File

View File

@ -0,0 +1,23 @@
---
services:
refactr-runner:
container_name: factory-runnerpool-prod-1
image: refactr/runner-pool
user: root
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./config.json:/etc/runner-agent.json
# stdin_open: true
# tty: true
environment:
- ENVIRONMENT=eval
- LOG_LEVEL=debug
- RUNNER_MANAGER_ID=${RUNNER_MANAGER_ID}
- RUNNER_MANAGER_KEY=${RUNNER_MANAGER_KEY}
- CONFIG_PATH=/etc/runner-agent.json
- NEW_RELIC_ENABLED=false
- NEW_RELIC_APP_NAME=factory-runnerpool-prod-1
- RUNNER_LOCAL_DOCKER_IMAGE_REGISTRY=docker.io
- RUNNER_LOCAL_DOCKER_IMAGE_REPOSITORY=refactr/runner
- RUNNER_LOCAL_DOCKER_IMAGE_TAG=latest
restart: unless-stopped