summaryrefslogtreecommitdiffstats
path: root/tools/docker-compose.yml
blob: 638926b7279e311302a280d08d136be76bd6ae0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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