上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: # 01-创建证书和环境准备本步骤主要完成: - (optional) role:os-harden,可选系统加固,符合linux安全基线,详见[upstream](https://github.com/dev-sec/ansible-collection-hardening/tree/master 阅读全文
posted @ 2023-06-09 12:08 辉辉、 阅读(397) 评论(0) 推荐(0)
摘要: k8s部署kong1.首先对比k8s与helm安装版本 [root@VM-8-15-centos kong]# helm version WARNING: Kubernetes configuration file is group-readable. This is insecure. Locat 阅读全文
posted @ 2023-05-28 09:12 辉辉、 阅读(400) 评论(0) 推荐(0)
摘要: version: '3' services: kong-database: image: postgres:9.6 container_name: kong-database ports: - 5432:5432 environment: - POSTGRES_USER=kong - POSTGRE 阅读全文
posted @ 2023-05-18 10:56 辉辉、 阅读(29) 评论(0) 推荐(0)
摘要: drone: image: drone/drone environment: - DRONE_GITEA_SERVER=http://xxx:13000 - DRONE_GITEA_CLIENT_ID=a2a16b95-4ea4-43ff-a3da-b18260acd8b0 - DRONE_GITE 阅读全文
posted @ 2023-05-07 23:33 辉辉、 阅读(222) 评论(0) 推荐(0)
摘要: FROM docker:18.09-dind ENV DOCKER_HOST=unix:///var/run/docker.sock ADD ./main /bin/ RUN mkdir -p /etc/docker && echo -e '{"insecure-registries": ["ip: 阅读全文
posted @ 2023-04-27 14:40 辉辉、 阅读(161) 评论(0) 推荐(0)
摘要: version: "3" services: gitea: image: gitea/gitea:latest container_name: gitea environment: - USER_UID=1000 - USER_GID=1000 restart: always volumes: - 阅读全文
posted @ 2023-04-16 20:31 辉辉、 阅读(81) 评论(0) 推荐(0)
摘要: `` apiVersion: v1 kind: Namespace metadata: name: ingress-nginx labels: app.kubernetes.io/name: ingress-nginx app.kubernetes.io/instance: ingress-ngin 阅读全文
posted @ 2023-04-16 20:30 辉辉、 阅读(32) 评论(0) 推荐(0)
摘要: 今天在cl框架源码中看见关于错误类的设置,其中set_exception_handler方法未操作过,顺便学习一下。 set_exception_handler:该函数设置用户自定义的异常处理函数。 <?php function showException($exception){ echo "报错 阅读全文
posted @ 2020-10-18 15:15 辉辉、 阅读(344) 评论(0) 推荐(0)
摘要: <?php namespace App\Http\Controllers; use http\Env\Request; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\Di 阅读全文
posted @ 2020-06-26 15:28 辉辉、 阅读(376) 评论(0) 推荐(0)
摘要: 1.在路由处设置参数name Route::get('/index/{name}','Controller@index'); 2.接收name参数,使用view调用显示html页面 <?php namespace App\Http\Controllers; use http\Env\Request; 阅读全文
posted @ 2020-06-26 15:11 辉辉、 阅读(405) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 下一页