2019-07-11 10:17:02 +02:00
|
|
|
---
|
2019-06-17 09:22:53 +02:00
|
|
|
version: '2.4'
|
|
|
|
services:
|
|
|
|
monitor:
|
2020-02-04 02:16:27 -03:00
|
|
|
image: poanetwork/tokenbridge-monitor:latest
|
2019-06-17 09:22:53 +02:00
|
|
|
ports:
|
2020-10-29 11:25:43 +03:00
|
|
|
- "${MONITOR_PORT}:${MONITOR_PORT}"
|
2019-06-17 09:22:53 +02:00
|
|
|
env_file: ./.env
|
2020-10-29 11:25:43 +03:00
|
|
|
environment:
|
2019-06-17 09:22:53 +02:00
|
|
|
- NODE_ENV=production
|
2020-01-10 09:55:35 -03:00
|
|
|
volumes:
|
|
|
|
- ./responses:/mono/monitor/responses
|
2020-10-29 11:25:43 +03:00
|
|
|
- ./cache:/mono/monitor/cache
|
2019-06-17 09:22:53 +02:00
|
|
|
restart: unless-stopped
|
2020-01-10 09:55:35 -03:00
|
|
|
entrypoint: "yarn start"
|