Merge branch 'main' of github.com:hummingbot/deploy-examples into development

This commit is contained in:
Michael Feng
2023-04-04 13:26:12 -07:00
9 changed files with 146 additions and 9 deletions

View File

@@ -152,7 +152,7 @@ create_instance () {
prompt_existing_certs_path
# Launch a new instance of gateway
docker run \
docker run -d \
--name $INSTANCE_NAME \
-p $GATEWAY_PORT:15888 \
-p $DOCS_PORT:8080 \
@@ -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