File: docker-compose.yaml

package info (click to toggle)
php-amqplib 2.11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,220 kB
  • sloc: php: 10,452; makefile: 51; sh: 7
file content (30 lines) | stat: -rw-r--r-- 533 bytes parent folder | download
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
version: '3'
services:
  php:
    build: ./docker/php
    volumes:
      - .:/src
    working_dir: /src
    environment:
      - TEST_RABBITMQ_HOST=rabbitmq
      - TOXIPROXY_HOST=proxy
      - TOXIPROXY_AMQP_PORT=5673
    links:
      - rabbitmq
    depends_on:
      - rabbitmq
      - proxy
    entrypoint: ['tail', '-f', '/dev/null']

  rabbitmq:
    image: rabbitmq:3-management
    ports:
      - "5672:5672"

  proxy:
    image: shopify/toxiproxy
    ports:
      - "8474:8474"
      - "5673:5673"
    links:
      - rabbitmq