mirror of
https://github.com/dataabc/weibo-crawler.git
synced 2026-10-17 05:11:25 +08:00
13 lines
358 B
YAML
13 lines
358 B
YAML
version: '3'
|
|
services:
|
|
weibo-crawler:
|
|
build:
|
|
context: .
|
|
dockerfile: ./Dockerfile
|
|
restart: always # 容器退出后总是重启
|
|
volumes:
|
|
- ./config.json:/app/config.json
|
|
- ./user_id_list.txt:/app/user_id_list.txt
|
|
- ./weibo:/app/weibo
|
|
environment:
|
|
- schedule_interval=1 # 可选:循环间隔(分钟) |