Skip to content

使用docker-compose搭建scrapy爬虫开发发布环境

Notifications You must be signed in to change notification settings

weineel/docker-scrapy-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  1. docker-compose up scrapyd 启动容器
  2. docker-compose exec scrapyd bash 进入容器(相当于远程登录的服务器),容器中安装了scrapy包,可以执行scrapy的命令行工具等,因为把项目根目录挂在到了容器的/var/code 所以在容器中的/var/code目录下的内容和项目根目录一致的。

About

使用docker-compose搭建scrapy爬虫开发发布环境

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages