Files
enoch 3f6384325a feat(devcontainer): add enhanced Maven development environment with Java 21, Bun, and SSH support
- Add Docker Compose configuration for Maven + Java 21 development container
- Include SSH server support for remote development (Zed editor compatible)
- Install Bun package manager and opencode-ai for enhanced development workflow
- Provide Makefile with commands for build, up, down, restart, logs, shell, ssh, and clean
- Add .env.example template for configurable ports and paths
- Include .gitignore for Java/Maven artifacts and IDE files
- Configure USTC mirrors for faster package installation
- Support persistent volume mounting for root user configuration (.ssh, .m2 cache)
2025-12-27 00:43:28 +08:00

21 lines
533 B
Plaintext

# ==============================================
# Maven + Java + Bun 开发容器配置模板
# 使用方法: 复制此文件为 .env 并修改具体值
# cp .env.example .env
# ==============================================
# === 端口配置 ===
# SSH 连接端口 (宿主机)
SSH_PORT=2222
# Web 应用端口 (宿主机)
APP_PORT=9090
# === 路径配置 ===
# 项目源码挂载路径 (本地路径)
PROJECT_DIR=/workspace
# === 镜像信息 ===
IMAGE_NAME=maven-java21-bun-dev
IMAGE_TAG=1.0
CONTAINER_NAME=maven-devcontainer