This commit is contained in:
Jeffrey Paul 2016-08-18 14:03:02 +02:00
parent 5387c3bfae
commit 2b961fbd0a
3 changed files with 7 additions and 12 deletions

View File

@ -96,14 +96,10 @@ RUN chown steemd:steemd -R /var/lib/steemd
VOLUME ["/var/lib/steemd"] VOLUME ["/var/lib/steemd"]
EXPOSE 8332 # rpc service:
EXPOSE 8090
EXPOSE 8333 # p2p service:
EXPOSE 2001
RUN mkdir -p /etc/service/steemd RUN mkdir -p /etc/service/steemd
ADD steemd.run /etc/service/steemd/run ADD steemd.run /etc/service/steemd/run
ADD steemd.log.run /etc/service/steemd/log/run
RUN chmod +x /etc/service/steemd/log/run \
/etc/service/steemd/run

View File

@ -1,2 +0,0 @@
#!/bin/sh
exec chpst -udaemon svlogd -tt /var/log/steemd

View File

@ -29,9 +29,10 @@ for NODE in $SEED_NODES ; do
done done
cd $HOME cd $HOME
chpst -usteemd \ exec chpst -usteemd \
steemd \ steemd \
--rpc-endpoint=0.0.0.0:8090 \ --rpc-endpoint=0.0.0.0:8090 \
--p2p-endpoint=0.0.0.0:2001 \
$ARGS \ $ARGS \
$STEEMD_EXTRA_OPTS \ $STEEMD_EXTRA_OPTS \
2>&1 | logger -t steemd 2>&1