start 442 Bytes
Newer Older
TonyFord's avatar
TonyFord committed
1
2
3
4
5
6
#!/bin/bash
cat ${CCE_CONF} | sed -e s/MYSQL_USER/${MYSQL_USER}/g -e s/MYSQL_PASSWORD/${MYSQL_PASSWORD}/g -e s/MYSQL_DATABASE_PORT/${MYSQL_DATABASE_PORT}/g > ./services/explorer/cce.conf
cat ${SERVER_CONF} | sed -e s/LH_PORT_explorer/${LH_PORT_explorer}/g > ./services/explorer/server.conf
docker-compose stop
docker-compose up -d --remove-orphans
# docker-compose exec -T --workdir /home/faircoin/explorer/scripts explorer python3 websrv.py