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