Commit c0ea47a5 authored by TonyFord's avatar TonyFord
Browse files

Merge remote-tracking branch 'upstream/master'

parents ace09428 a3f83e25
......@@ -21,6 +21,8 @@ build-explorer:
- chmod +x setenv && . setenv
script:
- deploy/build
after_script:
- cp -Rf ../${CI_PROJECT_NAME}.tmp/* ./env_file/
init-explorer:
stage: init
......@@ -35,6 +37,8 @@ init-explorer:
- chmod +x setenv && . setenv
script:
- deploy/init
after_script:
- cp -Rf ../${CI_PROJECT_NAME}.tmp/* ./env_file/
timeout: 10h
start-explorer:
......@@ -50,6 +54,8 @@ start-explorer:
- chmod +x setenv && . setenv
script:
- deploy/start
after_script:
- cp -Rf ../${CI_PROJECT_NAME}.tmp/* ./env_file/
stop-explorer:
stage: stop
......@@ -64,6 +70,8 @@ stop-explorer:
- chmod +x setenv && . setenv
script:
- deploy/stop
after_script:
- cp -Rf ../${CI_PROJECT_NAME}.tmp/* ./env_file/
uninstall-explorer:
stage: uninstall
......@@ -78,6 +86,8 @@ uninstall-explorer:
- chmod +x setenv && . setenv
script:
- deploy/uninstall
after_script:
- cp -Rf ../${CI_PROJECT_NAME}.tmp/* ./env_file/
remove-explorer:
stage: remove
......@@ -96,7 +106,11 @@ remove-explorer:
removeall-explorer:
stage: removeall
tags:
<<<<<<< HEAD
- kaana.red
=======
- FairCoin.Co
>>>>>>> upstream/master
only:
refs:
- master
......@@ -120,3 +134,5 @@ status-explorer:
- chmod +x ./setenv && . setenv
script:
- console/status
after_script:
- cp -Rf ../${CI_PROJECT_NAME}.tmp/* ./env_file/
......@@ -21,7 +21,6 @@ FAIRCHAINS_CONF # conf file to run the faircoind or fairchains daemon
#### env vars ###########################################################################
MYSQL_USER # mysql user ( used to run the explorer )
MYSQL_PASSWORD # mysql user password
MYSQL_DATABASE_PORT # mysql database port ( default 3306 )
MYSQL_ROOT_PASSWORD # mysql root user password ( used to admin the database )
LH_PORT_explorer # port running explorer by localhost ( default 8222 / use nginx proxy to make it available by remote )
......@@ -36,6 +35,7 @@ stop # stop container
install # runs build, init, start stages
uninstall # remove container without to delete the data
remove # remove all data
removeall # remove all data and docker images
~~~
### by SSH access <small>( manually without gitlab-runner )</small>
......@@ -58,6 +58,7 @@ deploy/stop
deploy/install
deploy/uninstall
deploy/remove
deploy/removeall
~~~
#### Troubleshooting
......
......@@ -5,5 +5,6 @@ echo -e "deploy/start \t\t( start container )"
echo -e "deploy/stop \t\t( stop container )"
echo -e "deploy/install \t( run steps build + start + new_ssl )"
echo -e "deploy/uninstall \t( stop and remove container, named volumes will NOT removed )"
echo -e "deploy/remove \t\t( stop and remove container and images, named volumes WILL REMOVED )"
echo -e "deploy/remove \t\t( stop and remove container, named volumes WILL REMOVED )"
echo -e "deploy/removeall \t\t( stop and remove container and images, named volumes WILL REMOVED )"
echo ""
......@@ -25,3 +25,7 @@ tools.staticdir.dir = '/home/faircoin/explorer/assets/fonts'
[/js]
tools.staticdir.on = True
tools.staticdir.dir = '/home/faircoin/explorer/assets/js'
[/image]
tools.staticdir.on = True
tools.staticdir.dir = '/home/faircoin/explorer/assets/image'
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