2018-02-02 19:23:52 +00:00
|
|
|
version: '2'
|
|
|
|
services:
|
2018-02-03 02:03:00 +00:00
|
|
|
crawler:
|
|
|
|
build: ./crawler
|
2018-02-03 03:19:29 +00:00
|
|
|
links:
|
|
|
|
- parser_package_tracking
|
2018-02-03 08:06:55 +00:00
|
|
|
- indexer
|
2018-02-03 02:03:00 +00:00
|
|
|
environment:
|
|
|
|
IMAP_URL: my.iamthefij.com
|
|
|
|
IMAP_USER: iamthefij@iamthefij.com
|
|
|
|
IMAP_PASS: "${IMAP_PASS}"
|
2018-02-03 08:21:31 +00:00
|
|
|
INDEXER: http://indexer:5000
|
2018-02-03 03:19:29 +00:00
|
|
|
PARSER_1: http://parser_package_tracking:3000
|
2018-02-03 08:06:55 +00:00
|
|
|
indexer:
|
|
|
|
build: ./indexer
|
|
|
|
ports:
|
|
|
|
- "8181:5000"
|
2018-02-02 19:23:52 +00:00
|
|
|
parser_package_tracking:
|
|
|
|
build: ./parsers/package-tracking
|
|
|
|
ports:
|
|
|
|
- "8183:3000"
|
2018-02-06 18:23:40 +00:00
|
|
|
viewer_main:
|
|
|
|
build: ./viewers/main
|
2018-02-06 04:40:14 +00:00
|
|
|
volumes:
|
2018-02-06 18:23:40 +00:00
|
|
|
- ./viewers/main:/usr/src/app
|
2018-02-06 04:40:14 +00:00
|
|
|
links:
|
|
|
|
- indexer
|
2018-02-06 18:23:40 +00:00
|
|
|
- viewer_package_tracking
|
2018-02-06 04:40:14 +00:00
|
|
|
environment:
|
|
|
|
INDEXER_URL: http://indexer:5000
|
|
|
|
ports:
|
|
|
|
- "8184:5000"
|
2018-02-06 18:23:40 +00:00
|
|
|
viewer_package_tracking:
|
|
|
|
build: ./viewers/package-tracking
|
|
|
|
environment:
|
|
|
|
UPS_KEY: ${UPS_KEY}
|
|
|
|
UPS_USER_ID: ${UPS_USER_ID}
|
|
|
|
UPS_PASSWORD: ${UPS_PASSWORD}
|
|
|
|
ports:
|
|
|
|
- "8185:3000"
|