2016-09-08 17:18:14 +03:00
version : '2'
services :
haproxy :
build :
context : ./docker-compose
dockerfile : Dockerfile-haproxy
depends_on :
2017-07-25 04:02:48 +03:00
- "awx_1"
- "awx_2"
- "awx_3"
2016-09-08 17:18:14 +03:00
ports :
- "8013:8013"
2017-01-03 21:59:12 +03:00
- "8043:8043"
2016-09-08 17:18:14 +03:00
- "1936:1936"
2016-09-09 22:18:18 +03:00
- "5555:5555"
2016-09-15 19:06:44 +03:00
- "15672:15672"
2017-07-25 04:02:48 +03:00
awx_1 :
2017-02-24 19:12:39 +03:00
privileged : true
2017-08-09 22:53:25 +03:00
image : ${DEV_DOCKER_TAG_BASE}/awx_devel:${TAG}
2017-07-25 04:02:48 +03:00
hostname : awx_1
2016-09-08 17:18:14 +03:00
environment :
RABBITMQ_HOST : rabbitmq_1
RABBITMQ_USER : guest
RABBITMQ_PASS : guest
RABBITMQ_VHOST : /
2017-06-21 21:29:49 +03:00
CELERY_RDB_HOST : 0.0 .0 .0
2017-08-10 21:56:46 +03:00
AWX_GROUP_QUEUES : alpha,tower
2016-09-08 17:18:14 +03:00
volumes :
2017-07-25 04:02:48 +03:00
- "../:/awx_devel"
2016-09-15 19:06:44 +03:00
2017-07-25 04:02:48 +03:00
awx_2 :
2017-02-24 19:12:39 +03:00
privileged : true
2017-08-09 22:53:25 +03:00
image : ${DEV_DOCKER_TAG_BASE}/awx_devel:${TAG}
2017-07-25 04:02:48 +03:00
hostname : awx_2
2016-09-08 17:18:14 +03:00
environment :
RABBITMQ_HOST : rabbitmq_2
RABBITMQ_USER : guest
RABBITMQ_PASS : guest
RABBITMQ_VHOST : /
2017-06-21 21:29:49 +03:00
CELERY_RDB_HOST : 0.0 .0 .0
2017-08-10 21:56:46 +03:00
AWX_GROUP_QUEUES : bravo,tower
2016-09-08 17:18:14 +03:00
volumes :
2017-07-25 04:02:48 +03:00
- "../:/awx_devel"
awx_3 :
2017-02-24 19:12:39 +03:00
privileged : true
2017-08-09 22:53:25 +03:00
image : ${DEV_DOCKER_TAG_BASE}/awx_devel:${TAG}
2017-07-25 04:02:48 +03:00
hostname : awx_3
2016-09-08 17:18:14 +03:00
environment :
RABBITMQ_HOST : rabbitmq_3
RABBITMQ_USER : guest
RABBITMQ_PASS : guest
RABBITMQ_VHOST : /
2017-06-21 21:29:49 +03:00
CELERY_RDB_HOST : 0.0 .0 .0
2017-08-10 21:56:46 +03:00
AWX_GROUP_QUEUES : charlie,tower
2016-09-08 17:18:14 +03:00
volumes :
2017-07-25 04:02:48 +03:00
- "../:/awx_devel"
2016-09-08 17:18:14 +03:00
rabbitmq_1 :
2017-08-09 22:53:25 +03:00
image : ${DEV_DOCKER_TAG_BASE}/rabbit_cluster_node:latest
2016-09-08 17:18:14 +03:00
hostname : rabbitmq_1
rabbitmq_2 :
2017-08-09 22:53:25 +03:00
image : ${DEV_DOCKER_TAG_BASE}/rabbit_cluster_node:latest
2016-09-08 17:18:14 +03:00
hostname : rabbitmq_2
environment :
- CLUSTERED=true
- CLUSTER_WITH=rabbitmq_1
rabbitmq_3 :
2017-08-09 22:53:25 +03:00
image : ${DEV_DOCKER_TAG_BASE}/rabbit_cluster_node:latest
2016-09-08 17:18:14 +03:00
hostname : rabbitmq_3
environment :
- CLUSTERED=true
- CLUSTER_WITH=rabbitmq_1
postgres :
2017-06-21 21:29:49 +03:00
image : postgres:9.6
2016-09-08 17:18:14 +03:00
memcached :
image : memcached:alpine
2017-03-21 17:39:40 +03:00
logstash :
build :
context : ./docker-compose
dockerfile : Dockerfile-logstash