1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-25 06:56:40 +07:00

#4 fixed event handling

This commit is contained in:
Fedor Katurov 2021-05-06 18:04:24 +07:00
parent e2457eb8c8
commit 948f5ae67c
9 changed files with 265 additions and 11 deletions

32
docker/docker-compose.yml Normal file
View file

@ -0,0 +1,32 @@
version: '3.4'
services:
db:
container_name: bot-db
image: postgres:11-alpine
ports:
- 5432:5432
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: bot
volumes:
- bot-db:/var/lib/postgresql/data
- /etc/localtime:/etc/localtime:ro
app:
restart: always
environment:
PORT: 80
build:
context: ../
dockerfile: ./docker/Dockerfile
ports:
- ${EXPOSE}:80
volumes:
- /etc/localtime:/etc/localtime:ro
- node_modules:/app/node_modules
entrypoint: node ./index.js
depends_on:
- db
volumes:
bot-db:
node_modules: