2019-11-30 21:43:23 +03:00
---
2018-06-12 22:08:57 +03:00
version : '2'
2016-06-08 19:25:14 +03:00
services :
2017-07-18 18:16:18 +03:00
# Primary AWX Development Container
awx :
2018-10-23 02:02:31 +03:00
user : ${CURRENT_UID}
2017-08-09 22:53:25 +03:00
image : ${DEV_DOCKER_TAG_BASE}/awx_devel:${TAG}
2018-11-26 16:08:59 +03:00
container_name : tools_awx_1
2017-07-18 18:16:18 +03:00
hostname : awx
2019-05-10 17:14:51 +03:00
command : /start_development.sh
2016-09-08 17:18:14 +03:00
environment :
2019-03-07 01:08:56 +03:00
CURRENT_UID :
2019-05-10 19:19:39 +03:00
OS :
2016-09-08 17:18:14 +03:00
RABBITMQ_HOST : rabbitmq
RABBITMQ_USER : guest
RABBITMQ_PASS : guest
2016-09-08 18:02:51 +03:00
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 : tower
2016-06-08 19:25:14 +03:00
ports :
2017-12-06 07:46:18 +03:00
- "8888:8888"
2016-06-08 19:25:14 +03:00
- "8080:8080"
2016-10-18 18:16:38 +03:00
- "8013:8013"
- "8043:8043"
2019-09-13 18:50:06 +03:00
- "6899:6899" # default port range for sdb-listen
- "7899-7999:7899-7999" # default port range for sdb-listen
2016-06-08 19:25:14 +03:00
links :
- postgres
2016-08-24 23:23:47 +03:00
- memcached
2016-09-06 16:47:11 +03:00
- rabbitmq
2016-06-08 19:25:14 +03:00
# - sync
# volumes_from:
# - sync
2019-06-26 01:28:01 +03:00
working_dir : "/awx_devel"
2016-06-08 19:25:14 +03:00
volumes :
2017-07-18 18:16:18 +03:00
- "../:/awx_devel"
2019-10-31 15:00:23 +03:00
- "../awx/projects/:/var/lib/awx/projects/"
2016-08-30 22:04:21 +03:00
privileged : true
2018-06-05 16:34:16 +03:00
# A useful container that simply passes through log messages to the console
# helpful for testing awx/tower logging
# logstash:
# build:
# context: ./docker-compose
# dockerfile: Dockerfile-logstash
2019-05-24 23:30:06 +03:00
2016-06-08 19:25:14 +03:00
# Postgres Database Container
postgres :
2019-09-16 17:40:39 +03:00
image : postgres:10
2018-11-26 16:08:59 +03:00
container_name : tools_postgres_1
2017-05-03 22:19:12 +03:00
ports :
2019-11-30 21:43:23 +03:00
- "5432:5432"
2016-08-24 23:23:47 +03:00
memcached :
image : memcached:alpine
2018-11-26 16:08:59 +03:00
container_name : tools_memcached_1
2017-02-09 19:00:06 +03:00
ports :
- "11211:11211"
2016-09-06 16:47:11 +03:00
rabbitmq :
image : rabbitmq:3-management
2018-11-26 16:08:59 +03:00
container_name : tools_rabbitmq_1
2016-09-15 17:46:45 +03:00
ports :
- "15672:15672"