mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
20fe9e9614
* Moving to new docker compose file format * Adding some things that will be needed for python dependencies
38 lines
761 B
YAML
38 lines
761 B
YAML
version: '2'
|
|
services:
|
|
# Primary Tower Development Container
|
|
tower:
|
|
build: ./docker-compose
|
|
ports:
|
|
- "8080:8080"
|
|
- "8013:8013"
|
|
links:
|
|
- postgres
|
|
- redis
|
|
# - sync
|
|
# volumes_from:
|
|
# - sync
|
|
volumes:
|
|
- "../:/tower_devel"
|
|
|
|
# Postgres Database Container
|
|
postgres:
|
|
image: postgres:9.4.1
|
|
|
|
# Redis Container
|
|
redis:
|
|
image: redis:3.0.1
|
|
|
|
# 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
|