mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Begin integrating receptor
This commit is contained in:
committed by
Shane McDonald
parent
521d3d5edb
commit
f1df4c54f8
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user