summaryrefslogtreecommitdiffstats
path: root/tools/docker-compose.yml
blob: 46aea9227f8860ed0cdae0fba8471bd5e7a44243 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '2'
services:
  # Primary AWX Development Container
  awx:
    user: ${CURRENT_UID}
    image: ${DEV_DOCKER_TAG_BASE}/awx_devel:${TAG}
    container_name: tools_awx_1
    hostname: awx
    command: /start_development.sh
    environment:
      CURRENT_UID:
      OS:
      RABBITMQ_HOST: rabbitmq
      RABBITMQ_USER: guest
      RABBITMQ_PASS: guest
      RABBITMQ_VHOST: /
      SDB_HOST: 0.0.0.0
      AWX_GROUP_QUEUES: tower
    ports:
      - "8888:8888"
      - "8080:8080"
      - "8013:8013"
      - "8043:8043"
      - "6899-6999:6899-6999"  # default port range for sdb-listen
    links:
      - postgres
      - memcached
      - rabbitmq
    #   - sync
    # volumes_from:
    #   - sync
    working_dir: "/awx_devel"
    volumes:
      - "../:/awx_devel"
    privileged: true
  # A useful container that simply passes through log messages to the console
  # helpful for testing awx/tower logging
  # logstash:
  #   build:
  #     context: ./docker-compose
  #     dockerfile: Dockerfile-logstash
  # Postgres Database Container
  postgres:
    image: postgres:10.7
    container_name: tools_postgres_1
    ports:
        - "5432:5432"
  memcached:
    image: memcached:alpine
    container_name: tools_memcached_1
    ports:
      - "11211:11211"
  rabbitmq:
    image: rabbitmq:3-management
    container_name: tools_rabbitmq_1
    ports:
      - "15672:15672"