1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00
awx/tools/docker-compose.yml
Alan Rominger 9fda4eee85 Remove extra_hosts that breaks dev environment
This was triggered by a docker update, and an empty value of DOCKER_HOST_IP resulted in an error running `make docker-compose`
2017-06-29 13:41:33 -04:00

46 lines
1008 B
YAML

version: '3'
services:
# Primary Tower Development Container
tower:
image: gcr.io/ansible-tower-engineering/tower_devel:${TAG}
hostname: tower
environment:
RABBITMQ_HOST: rabbitmq
RABBITMQ_USER: guest
RABBITMQ_PASS: guest
RABBITMQ_VHOST: /
CELERY_RDB_HOST: 0.0.0.0
EXTRA_GROUP_QUEUES:
ports:
- "8080:8080"
- "5555:5555"
- "8013:8013"
- "8043:8043"
- "6899-6999:6899-6999" # default port range for celery.contrib.rdb
links:
- postgres
- memcached
- rabbitmq
- logstash
# - sync
# volumes_from:
# - sync
volumes:
- "../:/tower_devel"
privileged: true
logstash:
build:
context: ./docker-compose
dockerfile: Dockerfile-logstash
# Postgres Database Container
postgres:
image: postgres:9.6
memcached:
image: memcached:alpine
ports:
- "11211:11211"
rabbitmq:
image: rabbitmq:3-management
ports:
- "15672:15672"