feat: add tiktok polling system with docker cron
This commit is contained in:
@@ -13,3 +13,11 @@ services:
|
||||
depends_on:
|
||||
- erika
|
||||
restart: unless-stopped
|
||||
|
||||
cron:
|
||||
image: curlimages/curl
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
command: /bin/sh -c "while true; do curl -s 'http://localhost:3000/api/cron/tiktok?secret=$${CRON_SECRET}' > /dev/null; sleep 300; done"
|
||||
|
||||
Reference in New Issue
Block a user