aboutsummaryrefslogtreecommitdiffstats
path: root/docker/supervisord.conf
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-04-23 03:35:46 +0800
committerFelix Lange <fjl@twurst.com>2015-04-23 03:35:46 +0800
commit33083e6f6c4a8454a0d3843fa67cae61abbe305f (patch)
tree49e63b1295e1c265fffcdceb880562a16abae5a7 /docker/supervisord.conf
parent95f172d4dc2b8e1cf6230c8ca2aa937438ff585d (diff)
downloadgo-tangerine-33083e6f6c4a8454a0d3843fa67cae61abbe305f.tar.gz
go-tangerine-33083e6f6c4a8454a0d3843fa67cae61abbe305f.tar.zst
go-tangerine-33083e6f6c4a8454a0d3843fa67cae61abbe305f.zip
Revert "Revert "refactor Dockerfile""
Diffstat (limited to 'docker/supervisord.conf')
-rw-r--r--docker/supervisord.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/docker/supervisord.conf b/docker/supervisord.conf
new file mode 100644
index 000000000..33cba0c14
--- /dev/null
+++ b/docker/supervisord.conf
@@ -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 \ No newline at end of file