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

changes

parent 7296f4dd
No related branches found
No related tags found
No related merge requests found
Pipeline #988 passed
......@@ -33,7 +33,7 @@ start-faircoind:
- $CMD =~ /build|start/
script:
- docker-compose down
- docker-compose up
- docker-compose up -d
stop-faircoind:
stage: stop
......@@ -71,5 +71,4 @@ remove-faircoind:
script:
- docker-compose down
after_script:
- echo ${CI_PROJECT_DIR} > ~/test.txt
- rm -R ~/.faircoin2
......@@ -58,18 +58,8 @@ WORKDIR /home/faircoin/faircoin/src
RUN mv ./faircoind /home/faircoin/faircoind
RUN mv ./faircoin-cli /home/faircoin/faircoin-cli
#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
WORKDIR /home/faircoin
ARG FAIRCOIN_CONF
ARG FAIRCOIN_PORT
# RUN ./faircoind -daemon -disablewallet -reindex -port=$FAIRCOIN_PORT && \
# sleep 60 && \
# ./faircoin-cli stop && \
# sleep 10
ENTRYPOINT ["./faircoind","-conf=.faircoin2/faircoin.conf"]
......@@ -13,7 +13,6 @@ services:
container_name: FairCoin.Co-faircoind
restart: always
command: '-disablewallet -port=${FAIRCOIN_PORT}'
# command: '-disablewallet -conf="${FAIRCOIN_CONF}" -blocknotify="${BLOCKNOTIFY}"'
network_mode: "host"
user: "${GITLAB_RUNNER_UID}:${GITLAB_RUNNER_GID}"
volumes:
......
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