专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像 官方专业版轩辕镜像 官方专业版官方专业版
首页个人中心搜索镜像

交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 1072982923

chiefwigms/picobrew_pico Docker 镜像 - 轩辕镜像

picobrew_pico
chiefwigms/picobrew_pico
Allows for standalone full control of the PicoBrew suite of devices
3 收藏0 次下载
⚠️ 线上容器拉取慢、不稳定?拉镜像别再赌运气
镜像简介版本下载
⚠️ 线上容器拉取慢、不稳定?拉镜像别再赌运气

picobrew_pico

Allows for full control of the PicoBrew Pico S/C/Pro & Zymatic models. Shout out to @hotzenklotz, Brian Moineau for PicoFerm API, @tmack8001 for Z series support & updates.
Demo Server

Supported Devices:

  • Pico S/C/Pro: fully featured
  • Zymatic: fully featured
  • ZSeries: fully featured
  • PicoFerm (Beta - Currently terminates fermentation after 14 days)
  • PicoStill (Beta)
    • Firmware versions 0.0.30 - 0.0.35 (selectable)
    • Pico S/C/Pro distillation (no session logging - limitation of firmware)
    • ZSeries (full session logging as included in Z firmware)
  • iSpindel (Beta)
  • Tilt (Beta)

Features

  • Device Aliasing
  • Brew Sessions
    • Live Graphing
    • Historical Graphing
  • Recipe Library
    • View Previously Created
    • Create New Recipes
    • Import from PicoBrew Servers (Pico C/S/Pro and Zymatic)
  • Manual Recipe Editing
    • Note The table for adding/removing/editing recipe steps has several validation checks in it, but there is always the possiblity of ruining your Pico.
    • For Pico S/C/Pro Only: DO NOT EDIT or MOVE Rows 1-3 (Preparing to Brew/Heating/Dough In). Drain times should all be 0 except for Mash Out (2 minutes) and the last hop addition (5 minutes) (for example, if you only have Hops 1 & 2, set the drain time on Hops 2 to 5, and remove the Hops 3 and 4 rows)

Installation

Refer to the Releases Page for steps to get up and running with your own Pico server with a Raspberry Pi device (recommended models include: Raspberry Pi Zero-W or Raspberry Pi 4).

By default the hostname of the RaspberryPi device will be "raspberrypi" and is discoverable on your local network along with the "samba" (or network shares) for sessions and recipes. You can use these to view the files created by the server during interactions with the user and connected devices.

Debugging Issues

There are two primary ways to help get additional details of errors that occur.

First is to see what is happening in your local browser. Most modern browsers have "development tools" that are included (in Chrome "Settings > More Tools > Developer Tools") and from these there are usually a console log as well as a "Network" tab that shows all the network requests made by the existing experience/page.

Second is to view the application logs from the included python server over an ssh or local keyboard+screen session.

sudo systemctl status rc.local -n <num-log-lines>

The remainder of this guide is oriented around creating a development environment for contributors.

Development Setup

Requirements

DNS Forwarding (either through a router, RaspberryPi etc)

  • Have a Raspberry Pi Zero W : [***]
  • DD-WRT/Open-WRT etc : Add additional option added to dnsmasq.conf: address=/picobrew.com/<Server IP running this code>
Option 1: Running pre packaged server via Docker or Docker-Compose

Docker v19.x ([***]

Setup/Run

Setup the following directory structure for use by the server.

recipes/
  pico/
  zymatic/
sessions/
  brew/
    active/
    archive/
  ferm/
    active/
    archive/

Run server volume mounting the above directory structure.

(Optional) Step 1: Generate SSL Certs

If you are looking to support a ZSeries device which requires HTTP+SSL communication we need to generatae some self-signed certificates to place in front of the flask app. These will be used when running nginx to terminate SSL connection before sending the requests for processing by flask.

./scripts/doccker/nginx/ssl_certificates.sh

On MacOS you can add permenant trust for the Certificate Authority (yourself) if you use Chrome and/or Safari this makes it so that the authority of the certificate generaated above is trusted. Only these browsers check keychain access to get a list of CAs whereas Firefox stores its own list of trusted CAs in the browser.

sudo security add-trusted-cert -d -r trustAsRoot -k /Library/Keychains/System.keychain $(pwd)/scripts/docker/nginx/certs/bundle.crt

Step 2: Run Flask Server (optionally with docker run or with docker-compose)

Either provide all variables to docker command directly or use the repository's docker-compose.yml (which will also include a working SSL enabled nginx configuration given you have setup certificates correctly with ./scripts/docker/nginx/ssl_certificates.sh)

Option 1: Docker Run (without SSL support or external SSL termination)

Running straight with docker is useful for easy setups which don't require SSL connections (aka non ZSeries brew setups) and/or for those that leveraging another existing system to handle the SSL connections (ie. mitmproxy, nginx, etc).

docker run -d -it -p 80:80 --name picobrew_pico \
  --mount type=bind,source=<absolute-path-to-recipes>,target=/picobrew_pico/app/recipes \
  --mount type=bind,source=<absolute-path-to-sessions>,target=/picobrew_pico/app/sessions \
  chiefwigms/picobrew_pico

To view logs check the running docker containers and tail the specific instance's logs directly via docker.

docker ps
CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS                NAMES
3cfda85cd90c        chiefwigms/picobrew_pico   "/bin/sh -c 'python3…"   45 seconds ago      Up 45 seconds       0.0.0.0:80->80/tcp   picobrew_pico
docker logs -f 3cfda85cd90c
WebSocket transport not available. Install eventlet or gevent and gevent-websocket for improved performance.
 * Serving Flask app "app" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
 * Running on [***] (Press CTRL+C to quit)

Option 2: Docker Compose (with SSL support via a dedicated nginx container)

To run a setup with http and https and want to have the ssl termination handled by the included nginx docker-compose is the easiest configuration to go with.

docker-compose up --build

or to start the servers in the background

docker-compose up --build -d

To view logs use the aliases service name app to view logs via the docker-compose command.

docker-compose logs -f app
Option 2: Running server via Python directly (optionally terminating ssl elsewhere manually)

Python >= 3.6.9

Setup/Run

Clone this repo, then run
sudo pip3 install -r requirements.txt on *nix or pip3 install -r requirements.txt as an Administrator in windows
sudo python3 server.py on *nix or python3 server.py as an Administrator in windows (default host interface is 0.0.0.0 and port 80, but these can be specified via command-line arguments like so python3 server.py <interface> <port>)

Disclaimer

Except as represented in this agreement, all work product by Developer is provided ​“AS IS”. Other than as provided in this agreement, Developer makes no other warranties, express or implied, and hereby disclaims all implied warranties, including any warranty of merchantability and warranty of fitness for a particular purpose.

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

登录仓库拉取

通过 Docker 登录认证访问私有仓库

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

Docker Compose

Docker Compose 项目配置

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

MacOS OrbStack

MacOS OrbStack 容器配置

宝塔面板

在宝塔面板一键配置镜像

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

极空间

极空间 NAS 系统配置服务

爱快路由

爱快 iKuai 路由系统配置

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

专属域名拉取

无需登录使用专属域名

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

轩辕镜像免费版与专业版有什么区别?

免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。

轩辕镜像支持哪些镜像仓库?

专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。

流量耗尽错误提示

当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。

410 错误问题

通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。

manifest unknown 错误

先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。

镜像拉取成功后,如何去掉轩辕镜像域名前缀?

使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
chiefwigms/picobrew_pico
官方博客Docker 镜像使用技巧与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
咨询镜像拉取问题请 提交工单,官方技术交流群:1072982923
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
咨询镜像拉取问题请提交工单,官方技术交流群:
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
官方邮箱:点击复制邮箱
©2024-2026 源码跳动
官方邮箱:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.