refactor Dockerfile

This commit is contained in:
caktux
2015-04-22 11:38:54 -04:00
parent 35595560f0
commit 39047d7d8b
3 changed files with 54 additions and 39 deletions

23
docker/supervisord.conf Normal file
View File

@@ -0,0 +1,23 @@
[supervisord]
nodaemon=false
[program:geth]
priority=30
directory=/
command=geth --rpc
user=root
autostart=true
autorestart=true
startsecs=10
stopsignal=QUIT
stdout_logfile=/var/log/geth.log
stderr_logfile=/var/log/geth.err
[unix_http_server]
file=%(here)s/supervisor.sock
[supervisorctl]
serverurl=unix://%(here)s/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface