Begin integrating receptor

This commit is contained in:
Shane McDonald
2020-11-12 16:34:18 -05:00
committed by Shane McDonald
parent 521d3d5edb
commit f1df4c54f8
7 changed files with 99 additions and 58 deletions

View File

@@ -35,6 +35,8 @@ services:
- "redis_socket:/var/run/redis/:rw"
- "receptor:/var/run/receptor/"
- "/sys/fs/cgroup:/sys/fs/cgroup"
- "./docker-compose/receptor.conf:/etc/receptor/receptor.conf"
- "~/.kube/config:/var/lib/awx/.kube/config"
privileged: true
tty: true
# A useful container that simply passes through log messages to the console
@@ -43,16 +45,6 @@ services:
# build:
# context: ./docker-compose
# dockerfile: Dockerfile-logstash
ee:
image: quay.io/ansible/awx-ee
user: ${CURRENT_UID}
volumes:
- "./docker-compose/receptor.cfg:/receptor.cfg"
- "receptor:/var/run/receptor/"
command:
- receptor
- --config
- /receptor.cfg
postgres:
image: postgres:12
container_name: tools_postgres_1

View File

@@ -5,11 +5,15 @@
service: control
filename: /var/run/receptor/receptor.sock
- tcp-listener:
port: 2222
- local-only:
- work-command:
worktype: worker
command: ansible-runner
params: worker
allowruntimeparams: true
- work-kubernetes:
worktype: ocp
namespace: receptor
image: quay.io/shanemcd/ee
authmethod: kubeconfig

View File

@@ -84,7 +84,7 @@ stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
[program:awx-receptor]
command = receptor --node id=%(ENV_HOSTNAME)s --control-service filename=/var/run/receptor/receptor.sock --tcp-listener port=2222
command = receptor --config /etc/receptor/receptor.conf
autostart = true
autorestart = true
stopsignal = KILL