added delay

This commit is contained in:
Shihaam Abdul Rahman 2023-03-08 16:50:06 +05:00
parent 5df0624b90
commit 1a8e4eb8c5
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -13,9 +13,11 @@ services:
environment: environment:
- SCRAPPER_CONTROL_API_KEY= #GET KEY FROM ATHFAN - SCRAPPER_CONTROL_API_KEY= #GET KEY FROM ATHFAN
# - TG_BOT_TOKEN= # modify if needed, default value set during build # - TG_BOT_TOKEN= # modify if needed, default value set during build
# - CHAT_IDS=# modify if needed, default value set during build # - CHAT_ID=# modify if needed, default value set during build
deploy: deploy:
replicas: 5 # Change this to however number of multiple instanaces you want replicas: 5 # Change this to however number of multiple instanaces you want
restart_policy:
delay: 10s
``` ```
4. Modify `SCRAPPER_CONTROL_API_KEY` 4. Modify `SCRAPPER_CONTROL_API_KEY`
5. Run `docker compose up -d` 5. Run `docker compose up -d`