monitoring

This commit is contained in:
Alexey 2019-08-09 12:34:25 +03:00
parent a7e83b9fee
commit b1244a87b4
2 changed files with 8 additions and 0 deletions

@ -7,4 +7,5 @@ RUN npm install
COPY . . COPY . .
EXPOSE 8000 EXPOSE 8000
HEALTHCHECK CMD curl -f http://localhost:8000/
CMD ["npm", "run", "start"] CMD ["npm", "run", "start"]

@ -10,6 +10,13 @@ services:
LETSENCRYPT_HOST: relayer.tornado.cash LETSENCRYPT_HOST: relayer.tornado.cash
env_file: ./.env env_file: ./.env
monitor:
image: arefaslani/docker-telegram-notifier
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
env_file: ./.env
networks: networks:
default: default:
external: external: