HUB
Sign inSign up

skycoder42/sbx-kit-paseo:latest

Multi-platform
Machine learning & AI
Manifest digest

sha256:bf8d29d3f599c42fd61a0683f98339636fed5e73d0a935ce44a40c7f7baa014d

Last pushed

2 days by skycoder42

Type

Sandbox Kit

Manifest digest

sha256:bf8d29d3f599c42fd61a0683f98339636fed5e73d0a935ce44a40c7f7baa014d

yaml
schemaVersion: "3"
displayName: Paseo daemon
author: Skycoder42
description: Installs the Paseo daemon at a pinned version, with its own Node under /opt/paseo. Starts it on every boot on 127.0.0.1:6767, reachable from the host through `ssh <name>.sbx`.
sourceUrl: https://github.com/Skycoder42/paseo-sbx/tree/main/sbx-kit/src
version: 0.18.2
licenses:
    - BSD-3-Clause
    - Apache-2.0
kind: mixin
provides:
    - [email protected]
capabilities:
    - type: com.docker.sandbox/long-running@1
    - type: com.docker.sandbox/lifecycle@1
      config:
        startup:
            - background: true
              command: |
                [ -f /etc/sandbox-persistent.sh ] && . /etc/sandbox-persistent.sh
                export PASEO_LISTEN=127.0.0.1:6767
                SHELL="$(command -v "${{ kit.args.defaultShell }}" || echo /bin/sh)"
                export SHELL
                exec paseo daemon run
              description: Run the Paseo daemon
              env:
                - HTTP_PROXY
                - HTTPS_PROXY
                - NO_PROXY
                - http_proxy
                - https_proxy
                - no_proxy
                - SSL_CERT_FILE
                - SSL_CERT_DIR
                - REQUESTS_CA_BUNDLE
                - CURL_CA_BUNDLE
                - NODE_EXTRA_CA_CERTS
args:
    defaultShell:
        default: bash
        description: Default shell to use by the Paseo daemon
        pattern: ^\w+$
    paseoVersion:
        default: 0.18.2
        description: Paseo release to install (must match the Paseo app on the host)
        pattern: ^[0-9]+\.[0-9]+\.[0-9]+$
        buildArg: PASEO_VERSION