mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
scrapyd: run without pidfile
This commit is contained in:
parent
c15129a87e
commit
7178a7aa72
@ -61,4 +61,4 @@ COPY ./scrapyd.conf /etc/scrapyd/
|
||||
VOLUME /etc/scrapyd/ /var/lib/scrapyd/
|
||||
EXPOSE 6800
|
||||
|
||||
CMD ["scrapyd"]
|
||||
CMD ["scrapyd", "--pidfile="]
|
||||
|
@ -61,4 +61,4 @@ COPY ./scrapyd.conf /etc/scrapyd/
|
||||
VOLUME /etc/scrapyd/ /var/lib/scrapyd/
|
||||
EXPOSE 6800
|
||||
|
||||
CMD ["scrapyd"]
|
||||
CMD ["scrapyd", "--pidfile="]
|
||||
|
@ -1,18 +1,18 @@
|
||||
[scrapyd]
|
||||
eggs_dir = /var/lib/scrapyd/eggs
|
||||
logs_dir = /var/lib/scrapyd/logs
|
||||
items_dir = /var/lib/scrapyd/items
|
||||
dbs_dir = /var/lib/scrapyd/dbs
|
||||
jobs_to_keep = 5
|
||||
max_proc = 0
|
||||
max_proc_per_cpu = 4
|
||||
finished_to_keep = 100
|
||||
poll_interval = 5
|
||||
http_port = 6800
|
||||
debug = off
|
||||
runner = scrapyd.runner
|
||||
application = scrapyd.app.application
|
||||
launcher = scrapyd.launcher.Launcher
|
||||
eggs_dir = /var/lib/scrapyd/eggs
|
||||
logs_dir = /var/lib/scrapyd/logs
|
||||
items_dir = /var/lib/scrapyd/items
|
||||
dbs_dir = /var/lib/scrapyd/dbs
|
||||
jobs_to_keep = 5
|
||||
max_proc = 0
|
||||
max_proc_per_cpu = 4
|
||||
finished_to_keep = 100
|
||||
poll_interval = 5
|
||||
http_port = 6800
|
||||
debug = off
|
||||
runner = scrapyd.runner
|
||||
application = scrapyd.app.application
|
||||
launcher = scrapyd.launcher.Launcher
|
||||
|
||||
[services]
|
||||
schedule.json = scrapyd.webservice.Schedule
|
||||
|
@ -1,18 +1,18 @@
|
||||
[scrapyd]
|
||||
eggs_dir = /var/lib/scrapyd/eggs
|
||||
logs_dir = /var/lib/scrapyd/logs
|
||||
items_dir = /var/lib/scrapyd/items
|
||||
dbs_dir = /var/lib/scrapyd/dbs
|
||||
jobs_to_keep = 5
|
||||
max_proc = 0
|
||||
max_proc_per_cpu = 4
|
||||
finished_to_keep = 100
|
||||
poll_interval = 5
|
||||
http_port = 6800
|
||||
debug = off
|
||||
runner = scrapyd.runner
|
||||
application = scrapyd.app.application
|
||||
launcher = scrapyd.launcher.Launcher
|
||||
eggs_dir = /var/lib/scrapyd/eggs
|
||||
logs_dir = /var/lib/scrapyd/logs
|
||||
items_dir = /var/lib/scrapyd/items
|
||||
dbs_dir = /var/lib/scrapyd/dbs
|
||||
jobs_to_keep = 5
|
||||
max_proc = 0
|
||||
max_proc_per_cpu = 4
|
||||
finished_to_keep = 100
|
||||
poll_interval = 5
|
||||
http_port = 6800
|
||||
debug = off
|
||||
runner = scrapyd.runner
|
||||
application = scrapyd.app.application
|
||||
launcher = scrapyd.launcher.Launcher
|
||||
|
||||
[services]
|
||||
schedule.json = scrapyd.webservice.Schedule
|
||||
|
Loading…
Reference in New Issue
Block a user