works now
This commit is contained in:
parent
2b961fbd0a
commit
81ff8ad85b
@ -103,3 +103,4 @@ 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
|
||||||
|
RUN chmod +x /etc/service/steemd/run
|
||||||
|
@ -28,11 +28,15 @@ for NODE in $SEED_NODES ; do
|
|||||||
ARGS+=" --seed-node=$NODE"
|
ARGS+=" --seed-node=$NODE"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# without --data-dir it uses cwd as datadir(!)
|
||||||
|
# who knows what else it dumps into current dir
|
||||||
cd $HOME
|
cd $HOME
|
||||||
|
|
||||||
exec 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 \
|
--p2p-endpoint=0.0.0.0:2001 \
|
||||||
|
--data-dir=$HOME \
|
||||||
$ARGS \
|
$ARGS \
|
||||||
$STEEMD_EXTRA_OPTS \
|
$STEEMD_EXTRA_OPTS \
|
||||||
2>&1
|
2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user