在云环境中实施所有权和数据安全的工具

probator的Python项目详细描述


遗嘱认证人

用于验证基础结构的安全性和法规遵从性工具。有关完整文档,请转到https://probator.gitlab.io/

码头工人

使用提供的Dockerfile构建一个包含每次 运行后端、调度程序和工作进程所必需的。

构建参数

dockerfile当前支持3个参数作为--build-arg变量

NameDescription
pip_flagsUsed to pass any extra configuration arguments to the pip install command. An example of this could be to pass in the ^{} argument for loading extra packages from a private PyPi repository
extra_packagesAny extra python packages you would like to install, such as custom plugins
timezoneThe timezone to set in the container, used for the schedulers. Defaults to ^{}

限制

容器没有数据库,需要外部提供。你 还需要映射到包含配置文件的卷中

示例

使用来自私有存储库的自定义插件构建

此示例使用pip_flagsextra_packages安装自定义插件probator-auth-openid

docker build . -t probator:latest --build-arg pip_flags="--extra-index-url https://pypi.company.tld/simple/" --build-arg extra_packages="probator-auth-openid"
示例执行

要运行系统的任何部分,您需要在配置文件夹中传递所需的文件(config.jsonlogging.jsonssl/private.key),这些文件存在于容器中的/usr/local/etc/probator

下面的示例将执行调度程序

docker run --rm -v probator-config:/usr/local/etc/probator probator:latest probator scheduler

下一个示例演示如何使用生产api服务器的端口映射运行api服务器

docker run --rm -p 5000:5000 -v probator-config:/usr/local/etc/probator probator:latest gunicorn -w 6 -b 0.0.0.0:5000 -k gthread -t 60 "probator.wsgi:run()"

学分

基于防暴游戏的工作Cloud Inquisitor

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java传递实现接口的内部类   java为什么managedbean方法在post请求中的过滤器调用之前调用   java Android应用程序在Android M,O上崩溃,登录A/libc时出错:tid 17938中的致命信号11(SIGSEGV),代码2,故障地址0x343a2944   java JPA存储库。findByAll()返回null,但数据库中存在所有内容   用于发送电子邮件的java Ant脚本   Java小程序HTML页面发生了奇怪的事情   在Postman的请求正文中传递多个JSON数据,并使用Jersy(JXRS)进入Java Rest API   无法强制转换java DAO类   10分钟后重新连接java   正则表达式如何在java中选择字符串直到某个字符   java我的输出有一些问题   Objective中的java时间段   java如何在新屏幕上基于按钮单击在webview中打开url   java哪个selenium版本与Firefox ESR 45.2.0兼容   java无法使用Apache Camel 3.1.0将XML转换为JSON