Set of services for extracting metadata from emails and taking an action on it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
928B

  1. version: '2'
  2. services:
  3. crawler:
  4. build: ./crawler
  5. links:
  6. - parser_package_tracking
  7. - indexer
  8. environment:
  9. IMAP_URL: my.iamthefij.com
  10. IMAP_USER: iamthefij@iamthefij.com
  11. IMAP_PASS: "${IMAP_PASS}"
  12. INDEXER: http://indexer:5000
  13. PARSER_1: http://parser_package_tracking:3000
  14. indexer:
  15. build: ./indexer
  16. ports:
  17. - "8181:5000"
  18. parser_package_tracking:
  19. build: ./parsers/package-tracking
  20. ports:
  21. - "8183:3000"
  22. viewer_main:
  23. build: ./viewers/main
  24. volumes:
  25. - ./viewers/main:/usr/src/app
  26. links:
  27. - indexer
  28. - viewer_package_tracking
  29. environment:
  30. INDEXER_URL: http://indexer:5000
  31. ports:
  32. - "8184:5000"
  33. viewer_package_tracking:
  34. build: ./viewers/package-tracking
  35. environment:
  36. UPS_KEY: ${UPS_KEY}
  37. UPS_USER_ID: ${UPS_USER_ID}
  38. UPS_PASSWORD: ${UPS_PASSWORD}
  39. ports:
  40. - "8185:3000"