huskies: rename project from storkit to huskies
Rename all references from storkit to huskies across the codebase: - .storkit/ directory → .huskies/ - Binary name, Cargo package name, Docker image references - Server code, frontend code, config files, scripts - Fix script/test to build frontend before cargo clippy/test so merge worktrees have frontend/dist available for RustEmbed Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+10
-10
@@ -1,4 +1,4 @@
|
||||
# Story Kit – single-container deployment
|
||||
# Huskies – single-container deployment
|
||||
#
|
||||
# Usage:
|
||||
# # Set your API key and project path, then:
|
||||
@@ -10,11 +10,11 @@
|
||||
# Docker Desktop's default (see spike findings).
|
||||
|
||||
services:
|
||||
storkit:
|
||||
huskies:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/Dockerfile
|
||||
container_name: storkit
|
||||
container_name: huskies
|
||||
ports:
|
||||
# Bind to localhost only — not exposed on all interfaces.
|
||||
- "127.0.0.1:3001:3001"
|
||||
@@ -26,9 +26,9 @@ services:
|
||||
- GIT_USER_NAME=${GIT_USER_NAME:?Set GIT_USER_NAME}
|
||||
- GIT_USER_EMAIL=${GIT_USER_EMAIL:?Set GIT_USER_EMAIL}
|
||||
# Optional: override the server port (default 3001)
|
||||
- STORKIT_PORT=3001
|
||||
- HUSKIES_PORT=3001
|
||||
# Bind to all interfaces so Docker port forwarding works.
|
||||
- STORKIT_HOST=0.0.0.0
|
||||
- HUSKIES_HOST=0.0.0.0
|
||||
# Optional: Matrix bot credentials (if using Matrix integration)
|
||||
- MATRIX_HOMESERVER=${MATRIX_HOMESERVER:-}
|
||||
- MATRIX_USER=${MATRIX_USER:-}
|
||||
@@ -51,9 +51,9 @@ services:
|
||||
|
||||
# Claude Code state – persists session history, projects config,
|
||||
# and conversation transcripts so --resume works across restarts.
|
||||
- claude-state:/home/storkit/.claude
|
||||
- claude-state:/home/huskies/.claude
|
||||
|
||||
# Storkit source tree for rebuild_and_restart.
|
||||
# Huskies source tree for rebuild_and_restart.
|
||||
# The binary has CARGO_MANIFEST_DIR baked in at compile time
|
||||
# pointing to /app/server, so the source must be at /app.
|
||||
# This is COPY'd in the Dockerfile; mounting over it allows
|
||||
@@ -67,7 +67,7 @@ services:
|
||||
# on incremental builds — leaving it on the bind mount makes builds
|
||||
# catastrophically slow (~12s just to traverse the tree).
|
||||
- workspace-target:/workspace/target
|
||||
- storkit-target:/app/target
|
||||
- huskies-target:/app/target
|
||||
|
||||
# ── Security hardening ──────────────────────────────────────────
|
||||
# Read-only root filesystem. Only explicitly mounted volumes and
|
||||
@@ -75,7 +75,7 @@ services:
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:size=512M,exec
|
||||
- /home/storkit:size=512M,uid=999,gid=999,exec
|
||||
- /home/huskies:size=512M,uid=999,gid=999,exec
|
||||
|
||||
# Drop all Linux capabilities, then add back only what's needed.
|
||||
# SETUID/SETGID needed by Claude Code's PTY allocation (openpty).
|
||||
@@ -121,4 +121,4 @@ volumes:
|
||||
cargo-git:
|
||||
claude-state:
|
||||
workspace-target:
|
||||
storkit-target:
|
||||
huskies-target:
|
||||
|
||||
Reference in New Issue
Block a user