22 lines
823 B
YAML
22 lines
823 B
YAML
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||
# 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 ;"'
|