From 6649c3bfa2ff587f30a4731cfe203d8dad2606fe Mon Sep 17 00:00:00 2001 From: gsd Date: Wed, 8 Feb 2023 13:24:21 +0000 Subject: [PATCH] add rcon post effect --- .dockerignore | 3 ++- .gitignore | 3 ++- Dockerfile | 4 ++-- docker-compose.yaml | Bin 512 -> 626 bytes post_effect.py | 27 +++++++++++++++++++++++++++ tradebot.facti13.py | 10 ++++++++++ 6 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 post_effect.py diff --git a/.dockerignore b/.dockerignore index b1c70ae..8baece8 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ auth_data/ -.env \ No newline at end of file +.env +servers.list \ No newline at end of file diff --git a/.gitignore b/.gitignore index b1c70ae..8baece8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ auth_data/ -.env \ No newline at end of file +.env +servers.list \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index fb487f5..cdb571c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM python:3.7 +FROM python:3.10 RUN groupadd -g 1000 service && useradd -g 1000 -u 1000 service ENV TZ=Europe/Moscow -RUN python -m pip install aiomysql aiohttp steamio +RUN python -m pip install aiomysql aiohttp steamio git+https://github.com/conqp/rcon RUN mkdir /home/service && \ cp /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \ diff --git a/docker-compose.yaml b/docker-compose.yaml index 224b8b51a388133c022d14a3c53f2a9430421451..7038ecff3a01a43c3943ab4118cdd2f345dea102 100644 GIT binary patch delta 67 wcmZo*`NXo}6653?Mj`QHhE#?khB7c&%%I1R!;r~P%uq79pHUvC+