email-assistant/docker-compose.yml

41 lines
928 B
YAML
Raw Normal View History

2018-02-02 19:23:52 +00:00
version: '2'
services:
crawler:
build: ./crawler
links:
- parser_package_tracking
2018-02-03 08:06:55 +00:00
- indexer
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
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"
viewer_main:
build: ./viewers/main
2018-02-06 04:40:14 +00:00
volumes:
- ./viewers/main:/usr/src/app
2018-02-06 04:40:14 +00:00
links:
- indexer
- viewer_package_tracking
2018-02-06 04:40:14 +00:00
environment:
INDEXER_URL: http://indexer:5000
ports:
- "8184:5000"
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"