Files
devcontainers/vibe-dev/.env.example
enoch 518eb5a90e Add Oh My Pi and improve dev container config
- Install @oh-my-pi/pi-coding-agent and move Go binaries to /usr/local/bin
- Add omp-data volume and make web port configurable via PORT_WEB
- Replace aider self-check with omp in Makefile
- Harden entrypoint: avoid exporting API keys to SSH env and overwrite
  mounted public key into authorized_keys
- Add .dockerignore, simplify .env.example, and document omp in README
2026-06-22 21:51:56 +08:00

34 lines
996 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ========================================
# Vibe Coding 环境配置模板
# ========================================
# 使用方法: cp .env.example .env然后填入实际值
# --- 工作区路径 ---
# 宿主机项目路径 (会被挂载到容器的 /workspace)
HOST_PROJECT_PATH=.
# 容器内工作目录
CONTAINER_WORKSPACE_PATH=/workspace
# --- SSH 配置 ---
# SSH 端口映射 (宿主机:容器)
SSH_PORT=2222
# 宿主机公钥路径 (会被自动注入到容器 authorized_keys)
# 持久化公钥请通过此变量配置,手动 make add-key 添加的公钥重启后会丢失
SSH_PUB_KEY_PATH=~/.ssh/id_ed25519.pub
# --- 服务端口 ---
# Web 服务端口映射 (宿主机:容器,容器内默认监听 3000)
PORT_WEB=6300
# --- AI Provider API Keys (按需填写,全部默认注释) ---
# Anthropic (Claude) - opencode / omp 支持
# ANTHROPIC_API_KEY=sk-ant-xxx
# OpenAI - opencode / omp 支持
# OPENAI_API_KEY=sk-xxx
# OpenCode 自定义配置
# OPENCODE_API_KEY=xxx