From f15cf856cfcd90ff7f2968c0833d2d8a821fa83d Mon Sep 17 00:00:00 2001 From: ThePain Date: Mon, 29 Jul 2024 15:27:30 +0000 Subject: [PATCH] =?UTF-8?q?docker-compose.yaml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docker-compose.yaml diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..a3ddbfe --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,22 @@ +version: "3.8" + +services: + sageai-bot: + container_name: StarPaymentTestBot + build: . + environment: + API_ID: ${API_ID} + API_HASH: ${API_HASH} + BOT_TOKEN: ${BOT_TOKEN} + + restart: unless-stopped + + healthcheck: + test: + - CMD + - curl + - '-f' + - 'http://localhost:3000' + interval: 2s + timeout: 10s + retries: 15