(fix) add volumes to connectors and strategies

This commit is contained in:
cardosofede
2023-03-20 17:14:32 -03:00
parent 1dd2dcc2a3
commit 18809fbdbb
7 changed files with 20 additions and 8 deletions

View File

@@ -169,4 +169,4 @@ then
else
echo "Aborted"
echo
fi
fi

View File

@@ -87,6 +87,8 @@ create_instance () {
--name $INSTANCE_NAME \
--network host \
-v $CONF_FOLDER:/conf \
-v $CONF_FOLDER/connectors:/conf/connectors \
-v $CONF_FOLDER/strategies:/conf/strategies \
-v $LOGS_FOLDER:/logs \
-v $DATA_FOLDER:/data \
-v $PMM_SCRIPTS_FOLDER:/pmm_scripts \

View File

@@ -105,12 +105,14 @@ execute_docker () {
docker run -itd --log-opt max-size=10m --log-opt max-file=5 \
--network host \
--name ${INSTANCES[$j]} \
-v $CONF_FOLDER:/conf \
-v $LOGS_FOLDER:/logs \
-v $DATA_FOLDER:/data \
-v $PMM_SCRIPTS_FOLDER:/pmm_scripts \
-v $SCRIPTS_FOLDER:/scripts \
-v $CERTS_FOLDER:/certs \
-v ${FOLDERS[$j]}/conf:/conf \
-v ${FOLDERS[$j]}/conf/connectors:/conf/connectors \
-v ${FOLDERS[$j]}/conf/strategies:/conf/strategies \
-v ${FOLDERS[$j]}/logs:/logs \
-v ${FOLDERS[$j]}/data:/data \
-v ${FOLDERS[$j]}/pmm-scripts:/pmm-scripts \
-v ${FOLDERS[$j]}/scripts:/scripts \
-v ${FOLDERS[$j]}/certs:/certs \
hummingbot/hummingbot:$TAG
j=$[$j+1]
# Update file ownership
@@ -145,4 +147,4 @@ then
else
echo " Update aborted"
echo
fi
fi