Add runner/docker-compose.yml

This commit is contained in:
2026-04-29 16:31:00 +00:00
commit 2ad1f96213
+22
View File
@@ -0,0 +1,22 @@
services:
ansible-agent:
image: alpine:latest
container_name: ansible_agent
restart: unless-stopped
volumes:
# Map the SSH folder from your LXC into the Container
- /root/.ssh:/root/.ssh:ro
# Map the repo code (Dockhand usually does this in its working dir)
- .:/ansible/infrastructure
environment:
- ANSIBLE_HOST_KEY_CHECKING=False
entrypoint: |
/bin/sh -c "apk add --no-cache ansible py3-pip git openssh-client &&
pip install --break-system-packages proxmoxer requests &&
sleep infinity"
networks:
- lab_net
networks:
lab_net:
driver: bridge