# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Nuphos Agent Runtime - Codex
spec:
    description: Codex runtime for Nuphos
    icon: https://cdn.zeabur.com/template/codex-color.webp
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain for accessing the runtime api
    readme: ""
    services:
        - name: nuphos-runtime
          icon: https://cdn.zeabur.com/template/codex-color.webp
          template: PREBUILT_V2
          spec:
            id: nuphos-runtime
            source:
                image: ghcr.io/zeabur/nuphos-runtime:0.1.0-codex
            ports:
                - id: port-8080
                  port: 8080
                  type: HTTP
            volumes:
                - id: home-node
                  dir: /home/node
            portForwarding:
                enabled: false
          domainKey: PUBLIC_DOMAIN
