Revert "Revert "refactor Dockerfile""

This commit is contained in:
Felix Lange
2015-04-22 21:35:46 +02:00
parent 95f172d4dc
commit 33083e6f6c
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