|
@ -70,6 +70,7 @@ conf=$wdir/hybrid/venus-stats/mongod.conf |
|
|
port=$(EPHEMERAL_PORT) |
|
|
port=$(EPHEMERAL_PORT) |
|
|
coll=logs |
|
|
coll=logs |
|
|
ip='127.0.0.1' |
|
|
ip='127.0.0.1' |
|
|
|
|
|
venusadmin=$wdir/hybrid/connect |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat << FOE > $wdir/hybrid/venus-stats/.env |
|
|
cat << FOE > $wdir/hybrid/venus-stats/.env |
|
@ -83,6 +84,7 @@ MONGO_VENUS_CONF=$conf |
|
|
MONGO_VENUS_IP=$ip |
|
|
MONGO_VENUS_IP=$ip |
|
|
MONGO_VENUS_PORT=$port |
|
|
MONGO_VENUS_PORT=$port |
|
|
MONGO_VENUS_COLLECTION=$coll |
|
|
MONGO_VENUS_COLLECTION=$coll |
|
|
|
|
|
VENUSADMIN=$venusadmin |
|
|
FOE |
|
|
FOE |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -93,6 +95,7 @@ cd $wdir/hybrid/venus-stats; |
|
|
|
|
|
|
|
|
docker-compose down && |
|
|
docker-compose down && |
|
|
docker-compose rm && |
|
|
docker-compose rm && |
|
|
|
|
|
docker volume rm venus-stats_swlabmongovenusData && |
|
|
docker-compose pull && |
|
|
docker-compose pull && |
|
|
docker-compose build --no-cache && |
|
|
docker-compose build --no-cache && |
|
|
docker-compose up -d --force-recreate |
|
|
docker-compose up -d --force-recreate |
|
|