mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 18:21:12 +03:00
b507dc53ea
* Documentation of the developer variety * Defaulting the COMPOSE_TAG to develop, can be overridden * Automatic docker login assuming gcr login * Including a manual build step as an alternative to gcr * Make qpid container shut the f**k up when it's running
42 lines
873 B
YAML
42 lines
873 B
YAML
version: '2'
|
|
services:
|
|
# Primary Tower Development Container
|
|
tower:
|
|
image: gcr.io/ansible-tower-engineering/tower_devel:${TAG}
|
|
ports:
|
|
- "8080:8080"
|
|
- "8013:8013"
|
|
links:
|
|
- postgres
|
|
- memcached
|
|
- qpid
|
|
# - sync
|
|
# volumes_from:
|
|
# - sync
|
|
volumes:
|
|
- "../:/tower_devel"
|
|
|
|
# Postgres Database Container
|
|
postgres:
|
|
image: postgres:9.4.1
|
|
|
|
memcached:
|
|
image: memcached:alpine
|
|
|
|
qpid:
|
|
image: fedora/qpid:latest
|
|
entrypoint: qpidd --auth=no
|
|
|
|
# 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
|