lilith-platform.live/codebase/@features/cocotte-tech/app.manifest.yaml
2026-05-19 23:18:40 -07:00

33 lines
1.3 KiB
YAML

name: cocotte-tech-site
description: Cocotte Tech (cocotte.io commercial / cocotte.dev OSS) — DRAFT, domains pending purchase. Dev preview at https://cocotte.io.apricot.lan/.
type: feature-service
category: marketing-sites
version: 0.1.0
platforms:
apricot:
os: linux
host: 10.0.0.13
environment: development
services:
dev:
type: web
port: "4324"
description: Astro dev server with HMR (live preview)
start:
path: ~/Code/@projects/@lilith/lilith-platform.live/codebase/@features/cocotte-tech/site
script: |
set -e
bun install --frozen-lockfile
nohup bun run dev --host 127.0.0.1 --port 4324 > /tmp/cocotte-tech-site-dev.log 2>&1 &
echo "cocotte-tech-site dev PID $! → logs /tmp/cocotte-tech-site-dev.log"
stop:
path: ~/Code/@projects/@lilith/lilith-platform.live/codebase/@features/cocotte-tech/site
script: |
pid=$(ss -ltnp 2>/dev/null | awk '/127\.0\.0\.1:4324/ {gsub(/.*pid=/,""); gsub(/,.*/,""); print; exit}')
if [ -n "$pid" ]; then kill "$pid" && echo "stopped cocotte-tech-site dev (pid $pid)"; else echo "not running"; fi
status:
command: "curl -sf http://127.0.0.1:4324/ > /dev/null && echo ok || echo stopped"
type: http
logs:
command: "tail -f /tmp/cocotte-tech-site-dev.log"