File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ FROM ubuntu:utopic
2+ MAINTAINER caktux
3+
4+ ENV DEBIAN_FRONTEND noninteractive
5+
6+ # Usual update / upgrade
7+ RUN apt-get update
8+ RUN apt-get upgrade -q -y
9+ RUN apt-get dist-upgrade -q -y
10+
11+ # Let our containers upgrade themselves
12+ RUN apt-get install -q -y unattended-upgrades
13+
14+ # Install Ethereum
15+ RUN apt-get install -q -y software-properties-common
16+ RUN add-apt-repository ppa:ethereum/ethereum
17+ RUN add-apt-repository ppa:ethereum/ethereum-dev
18+ RUN apt-get update
19+ RUN apt-get install -q -y geth
20+
21+ # Install supervisor
22+ RUN apt-get install -q -y supervisor
23+
24+ # Add supervisor configs
25+ ADD supervisord.conf supervisord.conf
26+
27+ EXPOSE 8545
28+ EXPOSE 30303
29+
30+ CMD ["-n" , "-c" , "/supervisord.conf" ]
31+ ENTRYPOINT ["/usr/bin/supervisord" ]
Original file line number Diff line number Diff line change 1+ [supervisord]
2+ nodaemon=false
3+
4+ [program:geth]
5+ priority=30
6+ directory=/
7+ command=geth --rpc
8+ user=root
9+ autostart=true
10+ autorestart=true
11+ startsecs=10
12+ stopsignal=QUIT
13+ stdout_logfile=/var/log/geth.log
14+ stderr_logfile=/var/log/geth.err
15+
16+ [unix_http_server]
17+ file=%(here)s/supervisor.sock
18+
19+ [supervisorctl]
20+ serverurl=unix://%(here)s/supervisor.sock
21+
22+ [rpcinterface:supervisor]
23+ supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
You can’t perform that action at this time.
0 commit comments