1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

#5 added docker-compose

This commit is contained in:
Fedor Katurov 2021-05-17 14:43:13 +07:00
parent f88d1f9312
commit af5f444092
2 changed files with 54 additions and 2 deletions

View file

@ -23,7 +23,8 @@ services:
- ${EXPOSE}:80
volumes:
- /etc/localtime:/etc/localtime:ro
entrypoint: ./wait-for-it.sh -t 90 db:5432 -- node ./index.js
- ${CONFIG_PATH}:/etc/bot/config.yml:ro
entrypoint: ./wait-for-it.sh -t 90 db:5432 -- node --config /etc/bot/config.yml ./index.js
depends_on:
- db
healthcheck: