docker service create --name app_tarot --publish 8080:8888 --replicas 3 ccr.ccs.com/test/tarot:latest docker service update --image ccr.ccs.com/test/tarot:latest app_tarot --force
docker service create --name app_tarot --publish 8080:8888 --replicas 3 ccr.ccs.com/test/tarot:latest docker service update --image ccr.ccs.com/test/tarot:latest app_tarot --force
在env文件中增加DEBUGBAR_ENABLED=false
安装sudo snap install --classic certbot sudo ln -s /snap/bin/certbot /usr/bin/certbot获取证书sudo certbot certonly --webroot -w /data/wwwroot/iguojin.com/ -d iguojin.com挂载docker/etc/letsencrypt:/etc/ngin...
请输入密码访问
安装zshsudo apt install git zsh -y 安装oh-my-zsh码云地址https://gitee.com/mirrors/oh-my-zsh执行其中的tools/install.sh如果无法clone github代码可以尝试把ip写入host安装自动补全git clone https://gitee.com/mirrors/zsh-autosuggestions....
COALESCE 返回第一个非空值select COALESCE(country,extra_fields->>'$.buyer_nationality') as country_code可以多个参数->和->>差异-> 永远返回的是json,例如返回字符串abc,则返回的是"abc",有引号 ->> 返回本来的值,没有引...
准备下载swoole cli,其中有一个pack-sfx.phpphp.ini中有个phar.readonly = Off打包phar<?php // 禁止缓冲输出,以便立即看到错误信息 ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); // 确保Ph...
$html = ' Hello, {{ $name }} @if($condition) There is one record @endif '; return \Illuminate\Support\Facades\Blade::render($html, ['name' => 'Julian Bashir', 'condition' => ...
原生curl$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $this->chatService->api); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_HTTPH...