Commit f7db0cf2 authored by TonyFord's avatar TonyFord
Browse files

change domain to kaana.red

parent 00f20edd
......@@ -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
......
......@@ -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
......@@ -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
~~~
......
#!/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
......@@ -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:
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