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