mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 06:51:10 +03:00
4932310ad1
this eases memcached interaction from your host, e.g., $ echo "get :1:LICENSE" | nc localhost 11211
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
version: '2'
|
|
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
|
|
ports:
|
|
- "8080:8080"
|
|
- "5555:5555"
|
|
- "8013:8013"
|
|
- "8043:8043"
|
|
- "6899-6999:6899-6999" # default port range for celery.contrib.rdb
|
|
links:
|
|
- postgres
|
|
- memcached
|
|
- rabbitmq
|
|
# - sync
|
|
# volumes_from:
|
|
# - sync
|
|
volumes:
|
|
- "../:/tower_devel"
|
|
privileged: true
|
|
|
|
# Postgres Database Container
|
|
postgres:
|
|
image: postgres:9.4.1
|
|
memcached:
|
|
image: memcached:alpine
|
|
ports:
|
|
- "11211:11211"
|
|
rabbitmq:
|
|
image: rabbitmq:3-management
|
|
ports:
|
|
- "15672:15672"
|
|
|
|
# Source Code Synchronization Container
|
|
# sync:
|
|
# build:
|
|
# context: ./docker-compose
|
|
# dockerfile: Dockerfile-sync
|
|
# command: "lsyncd -delay 1 -nodaemon -rsync /src /tower_devel"
|
|
# volumes:
|
|
# - /tower_devel
|
|
# - "../:/src"
|
|
# working_dir: /src
|
|
# stdin_open: true
|
|
# tty: true
|