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 : /
2018-02-27 02:27:35 +03:00
SDB_HOST : 0.0 .0 .0
2018-06-12 20:57:28 +03:00
SDB_PORT : 5899
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"
2018-06-12 20:57:28 +03:00
ports :
- "5899-5999:5899-5999"
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 : /
2018-02-27 02:27:35 +03:00
SDB_HOST : 0.0 .0 .0
2018-06-12 20:57:28 +03:00
SDB_PORT : 6899
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"
2018-06-12 20:57:28 +03:00
ports :
- "6899-6999:6899-6999"
2017-07-25 04:02:48 +03:00
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 : /
2018-02-27 02:27:35 +03:00
SDB_HOST : 0.0 .0 .0
2018-06-12 20:57:28 +03:00
SDB_PORT : 7899
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"
2018-06-12 20:57:28 +03:00
ports :
- "7899-7999:7899-7999"
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