Add custom env vars and Claude instructions for projects
All checks were successful
Build App / build-windows (push) Successful in 3m24s
Build App / build-linux (push) Successful in 5m36s
Build Container / build-container (push) Successful in 56s

Support per-project environment variables injected into containers,
plus global and per-project Claude Code instructions written to
~/.claude/CLAUDE.md inside the container on start. Reserved env var
prefixes are blocked, and changes trigger automatic container recreation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 18:39:20 -08:00
parent 96f8acc40d
commit 82c487184a
8 changed files with 200 additions and 12 deletions

View File

@@ -1,3 +1,8 @@
export interface EnvVar {
key: string;
value: string;
}
export interface Project {
id: string;
name: string;
@@ -11,6 +16,8 @@ export interface Project {
git_token: string | null;
git_user_name: string | null;
git_user_email: string | null;
custom_env_vars: EnvVar[];
claude_instructions: string | null;
created_at: string;
updated_at: string;
}
@@ -75,4 +82,5 @@ export interface AppSettings {
image_source: ImageSource;
custom_image_name: string | null;
global_aws: GlobalAwsSettings;
global_claude_instructions: string | null;
}