Ai
1 Star 1 Fork 0

gitee/jupyterhub-deploy-docker-localhost

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
proxy_token.sh 318 Bytes
一键复制 编辑 原始数据 按行查看 历史
Herman Tolentino 提交于 2021-09-28 10:21 +08:00 . updated scripts
#!/bin/bash
# 2021-09-27
[ -d secrets ] || mkdir secrets
if [[ -f secrets/proxy_token ]]; then
proxy_token=$(cat secrets/proxy_token)
else
proxy_token=$(openssl rand -hex 32)
touch secrets/proxy_token
echo $proxy_token >> secrets/proxy_token
fi
sed -i -e "s/REPLACE_TOKEN/`echo $proxy_token`/g" .env
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Microbion/jupyterhub-deploy-docker-localhost.git
git@gitee.com:Microbion/jupyterhub-deploy-docker-localhost.git
Microbion
jupyterhub-deploy-docker-localhost
jupyterhub-deploy-docker-localhost
master

搜索帮助