docker-compose.yml 973 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. AZUREBLOCKBLOB_URL: azureblockblob://DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://azurite:10000/devstoreaccount1;
  17. tty: true
  18. volumes:
  19. - ../docs:/home/developer/docs
  20. - ../celery:/home/developer/celery
  21. - ../t:/home/developer/t
  22. depends_on:
  23. - rabbit
  24. - redis
  25. - dynamodb
  26. - azurite
  27. rabbit:
  28. image: rabbitmq:3.7.3
  29. redis:
  30. image: redis:3.2.11
  31. dynamodb:
  32. image: dwmkerr/dynamodb:38
  33. azurite:
  34. image: arafato/azurite:2.6.5