Skip to content
Snippets Groups Projects
docker-compose.yml 449 B
version: '3.2'
services:
  amqp:
    image: rabbitmq:4.0-management
  unittest:
    command: coverage run --append -m nose2 -F -vv
    build:
      context: .
      dockerfile: tests/Dockerfile
    depends_on:
      - amqp
    environment:
      AMQP_HOST: "amqp"
  stress_tests:
    build:
      context: .
      dockerfile: tests/Dockerfile
    command: python -m stress_tests
    depends_on:
      - amqp
    environment:
      AMQP_HOST: "amqp"