services:
  redis:
    image: redis:7-alpine
    ports:
      - "6379:6379"

  django:
    build:
      context: ../..
      dockerfile: examples/django-react-site/Dockerfile.test
    ports:
      - "8000:8000"
    depends_on:
      - redis
    environment:
      - REDIS_URL=redis://redis:6379/0
      - DJANGO_SETTINGS_MODULE=testapp.settings
