Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
kaana.red
explorer.kaana.red
Commits
f7db0cf2
Commit
f7db0cf2
authored
Mar 15, 2021
by
TonyFord
Browse files
change domain to kaana.red
parent
00f20edd
Changes
5
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f7db0cf2
...
...
@@ -26,7 +26,7 @@ build-explorer:
-
docker-compose up -d db
-
sleep
20
-
chmod +x create_db.sh
-
docker-compose exec -T db /opt/explorer.
faircoin.co
/create_db.sh
-
docker-compose exec -T db /opt/explorer.
kaana.red
/create_db.sh
-
docker-compose up -d app
-
docker-compose exec -T app python3 dbload.py -n -l
timeout
:
6h
...
...
Dockerfile
View file @
f7db0cf2
...
...
@@ -40,11 +40,11 @@ ARG RUNNER_UID
RUN
groupadd
-g
$RUNNER_GID
faircoin
RUN
useradd
--create-home
--shell
/bin/bash faircoin
--uid
$RUNNER_UID
--gid
$RUNNER_GID
RUN
mkdir
-p
/home/faircoin/explorer.
faircoin.co
RUN
chown
-R
faircoin:faircoin /home/faircoin/explorer.
faircoin.co
RUN
mkdir
-p
/home/faircoin/explorer.
kaana.red
RUN
chown
-R
faircoin:faircoin /home/faircoin/explorer.
kaana.red
USER
faircoin
#################################################################################faircoin##
### ############################################
WORKDIR
/home/faircoin/explorer.
faircoin.co
/scripts
WORKDIR
/home/faircoin/explorer.
kaana.red
/scripts
README.md
View file @
f7db0cf2
...
...
@@ -22,7 +22,7 @@ uninstall # remove container
Go Gitlab
**Settings**
->
**CI/CD**
->
**Variables**
~~~
####
FairCoin.Co
group variables ######################
#### group variables ######################
CCE_CONF # config dbload.py
SERVER_CONF # config websrv.py
~~~
...
...
create_db.sh
View file @
f7db0cf2
#!/bin/sh
mysql
-u
root
--password
=
"
${
MYSQL_ROOT_PASSWORD
}
"
explorer < /opt/explorer.
faircoin.co
/newdb.sql
mysql
-u
root
--password
=
"
${
MYSQL_ROOT_PASSWORD
}
"
explorer < /opt/explorer.
kaana.red
/newdb.sql
docker-compose.yml
View file @
f7db0cf2
...
...
@@ -17,7 +17,7 @@ services:
depends_on
:
-
db
volumes
:
-
.:/home/faircoin/explorer.
faircoin.co
-
.:/home/faircoin/explorer.
kaana.red
db
:
image
:
mysql:5.7
...
...
@@ -36,7 +36,7 @@ services:
volumes
:
-
my-db:/var/lib/mysql
-
.:/opt/explorer.
faircoin.co
-
.:/opt/explorer.
kaana.red
# Names our volume
volumes
:
my-db
:
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment