@@ -10,7 +10,7 @@ It registers with the label **`ubuntu:host`**:
|
||||
instead of spawning a separate job container that wouldn't have dotnet/docker.
|
||||
|
||||
The container mounts the **host Docker socket** (so build/push/compose act on the
|
||||
host daemon) and **`/opt/rolac`** at the same path (so compose's relative volumes
|
||||
host daemon) and **`/home/chris/docker/rolac`** at the same path (so compose's relative volumes
|
||||
resolve), and uses **host networking** (so the deploy step's
|
||||
`curl http://localhost:8080/api/health` works).
|
||||
|
||||
|
||||
@@ -12,6 +12,6 @@ services:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
# deploy target — must be the SAME path so compose's relative ./data and
|
||||
# ./nginx volumes resolve to real host paths
|
||||
- /opt/rolac:/opt/rolac
|
||||
- /home/chris/docker/rolac:/home/chris/docker/rolac
|
||||
# persist runner registration so it doesn't re-register on restart
|
||||
- ./runner-data:/data
|
||||
|
||||
Reference in New Issue
Block a user