2016-09-08 17:18:14 +03:00
version : '2'
services :
haproxy :
build :
context : ./docker-compose
dockerfile : Dockerfile-haproxy
2018-11-26 16:08:59 +03:00
container_name : tools_haproxy_1
2016-09-08 17:18:14 +03:00
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-15 19:06:44 +03:00
- "15672:15672"
2017-07-25 04:02:48 +03:00
awx_1 :
2018-10-25 18:27:43 +03:00
user : ${CURRENT_UID}
2018-11-26 16:08:59 +03:00
container_name : tools_awx_1_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 :
2019-03-07 01:08:56 +03:00
CURRENT_UID :
2016-09-08 17:18:14 +03:00
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 :
2018-10-25 18:27:43 +03:00
user : ${CURRENT_UID}
2018-11-26 16:08:59 +03:00
container_name : tools_awx_2_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_2
2016-09-08 17:18:14 +03:00
environment :
2019-03-07 01:08:56 +03:00
CURRENT_UID :
2016-09-08 17:18:14 +03:00
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
2019-09-13 18:50:06 +03:00
SDB_PORT : 7899
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 :
2019-09-13 18:50:06 +03:00
- "7899-7999:7899-7999"
2017-07-25 04:02:48 +03:00
awx_3 :
2018-10-25 18:27:43 +03:00
user : ${CURRENT_UID}
2018-11-26 16:08:59 +03:00
container_name : tools_awx_3_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_3
2016-09-08 17:18:14 +03:00
environment :
2019-03-07 01:08:56 +03:00
CURRENT_UID :
2016-09-08 17:18:14 +03:00
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
2019-09-27 07:37:29 +03:00
SDB_PORT : 8899
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 :
2019-09-27 07:37:29 +03:00
- "8899-8999:8899-8999"
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
2018-11-26 16:08:59 +03:00
container_name : tools_rabbitmq_1_1
2016-09-08 17:18:14 +03:00
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
2018-11-26 16:08:59 +03:00
container_name : tools_rabbitmq_2_1
2019-03-07 01:08:56 +03:00
environment :
2016-09-08 17:18:14 +03:00
- 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
2018-11-26 16:08:59 +03:00
container_name : tools_rabbitmq_3_1
2019-03-07 01:08:56 +03:00
environment :
2016-09-08 17:18:14 +03:00
- CLUSTERED=true
- CLUSTER_WITH=rabbitmq_1
postgres :
2019-09-17 15:45:19 +03:00
image : postgres:10
2018-11-26 16:08:59 +03:00
container_name : tools_postgres_1
2016-09-08 17:18:14 +03:00
memcached :
image : memcached:alpine
2018-11-26 16:08:59 +03:00
container_name : tools_memcached_1