docker-compose.yml 658 B

12345678910111213141516171819202122232425262728293031323334
  1. version: '2'
  2. services:
  3. celery:
  4. build:
  5. context: ..
  6. dockerfile: docker/Dockerfile
  7. args:
  8. CELERY_USER: developer
  9. environment:
  10. TEST_BROKER: pyamqp://rabbit:5672
  11. TEST_BACKEND: redis://redis
  12. PYTHONUNBUFFERED: 1
  13. PYTHONDONTWRITEBYTECODE: 1
  14. REDIS_HOST: redis
  15. WORKER_LOGLEVEL: DEBUG
  16. tty: true
  17. volumes:
  18. - ../docs:/home/developer/docs
  19. - ../celery:/home/developer/celery
  20. - ../t:/home/developer/t
  21. depends_on:
  22. - rabbit
  23. - redis
  24. - dynamodb
  25. rabbit:
  26. image: rabbitmq:3.7.3
  27. redis:
  28. image: redis:3.2.11
  29. dynamodb:
  30. image: dwmkerr/dynamodb:38