Skip to content
Snippets Groups Projects
Commit 7296f4dd authored by TonyFord's avatar TonyFord
Browse files

ts

parent c77c64d8
No related branches found
No related tags found
No related merge requests found
Pipeline #985 canceled
......@@ -59,17 +59,17 @@ RUN mv ./faircoind /home/faircoin/faircoind
RUN mv ./faircoin-cli /home/faircoin/faircoin-cli
RUN mkdir -p /home/faircoin/.faircoin2
#RUN mkdir -p /home/faircoin/.faircoin2
# VOLUME ['/home/faircoin/.faircoin2']
RUN chown -R faircoin:faircoin /home/faircoin/.faircoin2
RUN echo "TTT" > /home/faircoin/.faircoin2/inf.conf
#RUN chown -R faircoin:faircoin /home/faircoin/.faircoin2
#RUN echo "TTT" > /home/faircoin/.faircoin2/inf.conf
WORKDIR /home/faircoin
ARG FAIRCOIN_CONF
ARG FAIRCOIN_PORT
RUN ./faircoind -daemon -disablewallet -reindex -port=$FAIRCOIN_PORT && \
sleep 60 && \
./faircoin-cli stop && \
sleep 10
# RUN ./faircoind -daemon -disablewallet -reindex -port=$FAIRCOIN_PORT && \
# sleep 60 && \
# ./faircoin-cli stop && \
# sleep 10
ENTRYPOINT ["./faircoind"]
ENTRYPOINT ["./faircoind","-conf=.faircoin2/faircoin.conf"]
......@@ -12,7 +12,7 @@ services:
FAIRCOIN_PORT: ${FAIRCOIN_PORT}
container_name: FairCoin.Co-faircoind
restart: always
command: '-disablewallet -conf="~/.faircoin2/faircoin.conf" -port=${FAIRCOIN_PORT}'
command: '-disablewallet -port=${FAIRCOIN_PORT}'
# command: '-disablewallet -conf="${FAIRCOIN_CONF}" -blocknotify="${BLOCKNOTIFY}"'
network_mode: "host"
user: "${GITLAB_RUNNER_UID}:${GITLAB_RUNNER_GID}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment