代码拉取完成,页面将自动刷新
#!/bin/sh
#
# Copyright (c) 2020 Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at
# https://oss.oracle.com/licenses/upl.
#
#===============================================
# MUST: Customize this to your local env
#===============================================
#
# Directory where all domains/db data etc are
# kept. Directories will be created here
export DC_USERHOME=/scratch/${USER}/docker
# Registry names where requisite standard images
# can be found
export DC_REGISTRY=""
# Proxy Environment
# export NO_PROXY=""
# export no_proxy=""
# export http_proxy=""
# export https_proxy=""
# export HTTPS_PROXY=""
# export HTTP_PROXY=""
# export ftp_proxy=""
# export FTP_PROXY=""
#===============================================
exportComposeEnv() {
#
export DC_HOSTNAME=`hostname -f`
}
#===============================================
createDirs() {
echo "INFO: crateDirs"
}
#===============================================
printEnvDetails() {
echo "INFO: Environment variables"
env | grep -e "DC_" | sort
}
#===============================================
#== MAIN starts here
#===============================================
#
echo "INFO: Setting up OAM Docker Environment..."
exportComposeEnv
createDirs
printEnvDetails
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。