mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-25 16:28:40 +00:00
update
This commit is contained in:
parent
01c7f10288
commit
f3c8abf37c
@ -34,9 +34,7 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 627220E7 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ADD ./001-scrapyd /etc/scrapyd/conf.d/
|
||||
ADD ./supervisord.conf /etc/supervisor/supervisord.conf
|
||||
|
||||
VOLUME /var/lib/scrapyd
|
||||
ADD ./scrapyd.conf /etc/supervisor/conf.d/
|
||||
|
||||
EXPOSE 6800 9001
|
||||
|
||||
|
@ -3,21 +3,8 @@ port = :9001
|
||||
username = admin
|
||||
password = {SHA}d033e22ae348aeb5660fc2140aec35850c4da997
|
||||
|
||||
[rpcinterface:supervisor]
|
||||
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||||
|
||||
[supervisord]
|
||||
logfile=/var/log/supervisor/supervisord.log
|
||||
pidfile=/var/run/supervisord.pid
|
||||
childlogdir=/var/log/supervisor
|
||||
nodaemon=true
|
||||
|
||||
[supervisorctl]
|
||||
serverurl=http://localhost:9001
|
||||
|
||||
[program:scrapyd]
|
||||
command = /usr/bin/scrapyd -u scrapy
|
||||
-g nogroup
|
||||
--pidfile /var/run/scrapyd.pid
|
||||
-l /var/log/scrapyd/scrapyd.log
|
||||
|
Loading…
Reference in New Issue
Block a user