feat: add tiktok polling system with docker cron

This commit is contained in:
2026-07-03 21:18:12 +07:00 Unverified
parent 80dcaf1bc2
commit 96b7ce11c0
6 changed files with 156 additions and 161 deletions
+8
View File
@@ -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"