ForgejoRunner
This commit is contained in:
parent
44e620ddae
commit
e33e131de7
8 changed files with 402 additions and 0 deletions
22
VMs/ForgejoRunner/compose.yml
Normal file
22
VMs/ForgejoRunner/compose.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
# VERY INSECURE RUN THIS IN THE INCUS VM SEE LAUNCH SH FILE
|
||||
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
services:
|
||||
forgejo-runner:
|
||||
image: data.forgejo.org/forgejo/runner:11
|
||||
container_name: forgejo-runner
|
||||
environment:
|
||||
# Let the runner use the host Docker daemon via socket
|
||||
DOCKER_HOST: unix:///var/run/docker.sock
|
||||
# Run as root so the socket permissions don’t block access
|
||||
user: 0:0
|
||||
# Mount host docker.sock for sibling container access
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./volume/config.yml:/config.yml
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
#command: /bin/sh -c "sleep 5; forgejo-runner daemon"
|
||||
command: '/bin/sh -c "while : ; do sleep 1 ; done ;"'
|
||||
Loading…
Add table
Add a link
Reference in a new issue