latest
This commit is contained in:
parent
5387c3bfae
commit
2b961fbd0a
12
Dockerfile
12
Dockerfile
@ -96,14 +96,10 @@ RUN chown steemd:steemd -R /var/lib/steemd
|
||||
|
||||
VOLUME ["/var/lib/steemd"]
|
||||
|
||||
EXPOSE 8332
|
||||
|
||||
EXPOSE 8333
|
||||
# rpc service:
|
||||
EXPOSE 8090
|
||||
# p2p service:
|
||||
EXPOSE 2001
|
||||
|
||||
RUN mkdir -p /etc/service/steemd
|
||||
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
|
||||
|
@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
exec chpst -udaemon svlogd -tt /var/log/steemd
|
@ -29,9 +29,10 @@ for NODE in $SEED_NODES ; do
|
||||
done
|
||||
|
||||
cd $HOME
|
||||
chpst -usteemd \
|
||||
exec chpst -usteemd \
|
||||
steemd \
|
||||
--rpc-endpoint=0.0.0.0:8090 \
|
||||
--p2p-endpoint=0.0.0.0:2001 \
|
||||
$ARGS \
|
||||
$STEEMD_EXTRA_OPTS \
|
||||
2>&1 | logger -t steemd
|
||||
2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user