first commit

This commit is contained in:
ansible user
2025-10-22 14:11:49 +02:00
commit 110301f862
75 changed files with 20802 additions and 0 deletions

24
docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
services:
ansible-worker:
build:
context: .
dockerfile: Dockerfile
image: ansible-worker:latest
# container_name: ansible-worker # <<< REMOVE THIS
working_dir: /opt/containers/ansible-worker/app
entrypoint: ["/opt/containers/ansible-worker/files/entrypoint.sh"]
command: ["/opt/containers/ansible-worker/app/bin/rabbit-client.sh"]
restart: unless-stopped
tty: true
stdin_open: true
environment:
ANSIBLE_CONFIG: /opt/containers/ansible-worker/app/ansible.cfg
ANSIBLE_SSH_ARGS: "-o PubkeyAuthentication=no"
TZ: Africa/Johannesburg
volumes:
- ./data:/opt/containers/ansible-worker/data:rw
- ./files:/opt/containers/ansible-worker/files:rw