changed gitignore

This commit is contained in:
kiriharu 2021-01-05 21:52:53 +01:00
parent 1b9b6c5cce
commit 653cf725c7
3 changed files with 7 additions and 9 deletions

5
.gitignore vendored
View File

@ -125,4 +125,7 @@ venv.bak/
dmypy.json
# poetry lock
poetry.lock
poetry.lock
# env files
.env

View File

@ -25,4 +25,4 @@
* Запустите `docker-compose -f docker-compose-api.yml up -d`
* В боте по пути `apps/tgbot/tgbot/nodes.py` добавьте ноду как указано в примере и перезапустите его.
#### Установка бота
* Запустите `docker-compose -f docker-compose-bot.yml up -d`
* Запустите `docker-compose -f docker-compose-tgbot.yml up -d`

View File

@ -4,12 +4,7 @@ services:
build:
context: ./apps
dockerfile: Dockerfile-api
environment:
- APP_PORT=8080
- WORKERS=2
- ASYNC_CORES=2000
- NODE_NAME="Default node"
- NODE_LOCATION="Undefined location"
- ACCESS_TOKEN="CHANGE_TOKEN"
env_file:
- api.env
ports:
- "0.0.0.0:8080:8080"