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

add port

parent 0c666048
No related branches found
No related tags found
No related merge requests found
Pipeline #953 canceled
......@@ -65,7 +65,8 @@ RUN mv ./faircoin-cli /home/faircoin/faircoin-cli
WORKDIR /home/faircoin
ARG FAIRCOIN_CONF
RUN ./faircoind -daemon -disablewallet -reindex -conf="$FAIRCOIN_CONF" && \
ARG FAIRCOIN_PORT
RUN ./faircoind -daemon -disablewallet -reindex -port=$FAIRCOIN_PORT -conf="$FAIRCOIN_CONF" && \
sleep 60 && \
./faircoin-cli stop && \
sleep 10
......
......@@ -10,6 +10,7 @@ services:
GITLAB_RUNNER_UID: "${GITLAB_RUNNER_UID}"
GITLAB_RUNNER_GID: "${GITLAB_RUNNER_GID}"
FAIRCOIN_CONF: "${FAIRCOIN_CONF}"
FAIRCOIN_PORT: 40414
container_name: FairCoin.Co-faircoind
restart: always
command: '-disablewallet -conf="${FAIRCOIN_CONF}" -port=40414'
......
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