Commit b3c8b988 authored by TonyFord's avatar TonyFord
Browse files

ts

parent 89b5c53a
...@@ -40,7 +40,6 @@ init: ...@@ -40,7 +40,6 @@ init:
- export RUNNER_UID=`id -u` - export RUNNER_UID=`id -u`
- export RUNNER_GID=`id -g` - export RUNNER_GID=`id -g`
script: script:
- docker-compose exec -T faircoin ./stop_faircoin_services.sh && sleep 10
- docker-compose stop - docker-compose stop
- docker-compose up -d --remove-orphans faircoin - docker-compose up -d --remove-orphans faircoin
- docker-compose exec -T faircoin rm -f /home/faircoin/.faircoin2/faircoin.conf - docker-compose exec -T faircoin rm -f /home/faircoin/.faircoin2/faircoin.conf
...@@ -53,8 +52,6 @@ init: ...@@ -53,8 +52,6 @@ init:
- docker-compose exec -T faircoin cp /home/faircoin/_init/.faircoin2/FairCoinChain.json /home/faircoin/.faircoin2/ - docker-compose exec -T faircoin cp /home/faircoin/_init/.faircoin2/FairCoinChain.json /home/faircoin/.faircoin2/
- docker-compose exec -T faircoin rm -f /home/faircoin/.electrumfair/config - docker-compose exec -T faircoin rm -f /home/faircoin/.electrumfair/config
- docker-compose exec -T faircoin cp /home/faircoin/_init/.electrumfair/config /home/faircoin/.electrumfair/ - docker-compose exec -T faircoin cp /home/faircoin/_init/.electrumfair/config /home/faircoin/.electrumfair/
- docker-compose stop faircoin
- docker-compose rm -v -f faircoin
after_script: after_script:
- docker-compose down - docker-compose down
...@@ -74,6 +71,9 @@ start: ...@@ -74,6 +71,9 @@ start:
- docker-compose exec -T faircoin ./stop_faircoin_services.sh && sleep 10 - docker-compose exec -T faircoin ./stop_faircoin_services.sh && sleep 10
- docker-compose stop - docker-compose stop
- docker-compose up -d --remove-orphans - docker-compose up -d --remove-orphans
- docker-compose exec -T faircoin ./start_faircoin_services.sh
- sleep 10
- docker-compose exec -T electrumfairchainsx ./efcx_server
- export LH_PORT=${LH_PORT_jsonrpc} && curl https://git.fairkom.net/faircoin.co/admin/-/raw/master/nginx_proxy | sed -e s/DOMAIN/${CI_PROJECT_NAME}/g -e s/LH_PORT/${LH_PORT}/g > ${CI_PROJECT_NAME} - export LH_PORT=${LH_PORT_jsonrpc} && curl https://git.fairkom.net/faircoin.co/admin/-/raw/master/nginx_proxy | sed -e s/DOMAIN/${CI_PROJECT_NAME}/g -e s/LH_PORT/${LH_PORT}/g > ${CI_PROJECT_NAME}
create_wallet: create_wallet:
......
...@@ -22,7 +22,7 @@ services: ...@@ -22,7 +22,7 @@ services:
RUNNER_GID: ${RUNNER_GID:-1000} RUNNER_GID: ${RUNNER_GID:-1000}
container_name: faircoin-faircoind-electrumfair container_name: faircoin-faircoind-electrumfair
restart: always restart: always
command: ./start_faircoin_services.sh command: sleep inf
user: "${RUNNER_UID:-1000}:${RUNNER_GID:-1000}" user: "${RUNNER_UID:-1000}:${RUNNER_GID:-1000}"
volumes: volumes:
- ./services/_init/.faircoin2:/home/faircoin/_init/.faircoin2 - ./services/_init/.faircoin2:/home/faircoin/_init/.faircoin2
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment