exec @docker
All checks were successful
Setup Native Action / native (3.12.7) (push) Has been skipped
Setup Native Action / docker (3.12.7) (push) Has been skipped

This commit is contained in:
hoangvv 2025-01-15 11:58:00 +07:00
parent 4b0e7ace5e
commit 8dd811ed75

View File

@ -185,7 +185,10 @@ Generate_Config_Docker(){
if [[ ! -f "${DEPLOY_PATH}/.env" ]]; then
cp "${DEPLOY_PATH}/env.template" "${DEPLOY_PATH}/.env"
fi
${PYTHON} "$SETUP_PATH/gen_config_docker.py" --db_port 5432 --db_user $DB_USER --deploy_path "$DEPLOY_PATH" \
USER="${REPO_NAME:-"default_repo"}"
# Convert to lowercase
USER="${USER,,}"
${PYTHON} "$SETUP_PATH/gen_config_docker.py" --db_port 5432 --db_user $USER --deploy_path "$DEPLOY_PATH" \
--image "${ODOO_IMAGE}" --container "${ODOO_CONTAINER}" --tag "${ODOO_TAG:=latest}" \
--addons "${ODOO_ADDONS}" --config "${ODOO_CONFIG}" --backup "${VERSION}"
Show 0 " Generate Config Complete"