This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # --- Stage 1: The JDK Provider --- | |
| FROM eclipse-temurin:17-jdk-jammy AS jdk-source | |
| # --- Stage 2: Final Development Image --- | |
| FROM node:20-slim | |
| # Build arguments for user configuration | |
| ARG USERNAME=ccagent | |
| ARG WORKDIR=app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| tel_hanuma_chalisa: | |
| # When you have default setup with Dockerfile being the name | |
| # build: . | |
| # Being explicit for clarity | |
| build: | |
| context: . | |
| dockerfile: Dockerfile.dev | |
| image: tel_hanuma_chalisa:latest | |
| container_name: thc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Reference config for ReDroid in docker-compose | |
| # This one is likely resource intensive. | |
| # When I added another service my Docker started restarting because of resource contention with host OS having only 16GB RAM. | |
| services: | |
| redroid: | |
| image: redroid/redroid:16.0.0-latest | |
| container_name: redroid | |
| restart: unless-stopped | |
| privileged: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This .wslconfig can be found in your windows host @ C:\Users\{your-user}\.wslconfig | |
| [wsl2] | |
| localhostForwarding=true | |
| # default memory limit is 50% of available memory (setting higher limit might slow down your host performance) | |
| memory=10GB | |
| # Sets the amount of swap space (virtual memory on disk) | |
| # This acts as a safety net if your containers spike |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Use official Maven image with JDK 21 | |
| FROM maven:3.9.6-eclipse-temurin-21 | |
| # Install dependencies for JDTLS (Python is required for the wrapper script) | |
| RUN apt-get update && apt-get install -y \ | |
| python3 \ | |
| wget \ | |
| tar \ | |
| && rm -rf /var/lib/apt/lists/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Stage 1: "Borrow" the binaries from official images | |
| FROM maven:3.9.6-eclipse-temurin-21-jammy AS maven_source | |
| FROM eclipse-temurin:21-jdk-jammy AS java_source | |
| # Stage 2: Final Development Image | |
| FROM node:20-slim | |
| # 1. Install critical system dependencies (optimized) | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| bash curl git vim jq ca-certificates \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Build the image | |
| # Ref.: https://openrouter.ai/docs/guides/coding-agents/claude-code-integration | |
| # Bash: export ANTHROPIC_BASE_URL="http://bifrost:8080/anthropic" ANTHROPIC_API_KEY="" ANTHROPIC_AUTH_TOKEN="your-api-key-here" | |
| # PowerShell: $env:ANTHROPIC_BASE_URL="http://bifrost:8080/anthropic"; $env:ANTHROPIC_API_KEY=""; $env:ANTHROPIC_AUTH_TOKEN="your-api-key-here" | |
| # docker compose build | |
| # Launch the environment | |
| # The --rm flag ensures that once you type exit, the container instance is removed, keeping your Docker environment tidy. | |
| # docker compose run --rm claude-dhanj |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Build the image | |
| # docker compose build -e CC_API_KEY="" | |
| # Launch the environment | |
| # The --rm flag ensures that once you type exit, the container instance is removed, keeping your Docker environment tidy. | |
| # docker compose run --rm claude-dhanj | |
| # Consistency: If you run docker ps, you'll see claude-dhanj. If you run docker images, you'll see claude-dhanj. | |
| # Volume Sync: Since your volume is mapped to ${PWD}, any code changes made by the Claude Code CLI inside the container will instantly appear on your host machine. | |
| # Memory Safety: The deploy block ensures that even if a Maven build or a heavy Node process spikes, it stays within your defined 8GB limit. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "HOST": "0.0.0.0", | |
| "PORT": 3456, | |
| "APIKEY": "apikey-ccr", | |
| "LOG": true, | |
| "LOG_LEVEL": "info", | |
| "Providers": [ | |
| { | |
| "NAME": "groq", | |
| "HOST": "https://api.groq.com/openai/v1/chat/completions", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM node:20-bookworm-slim | |
| # 1. Install System Deps | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| bash curl git vim jq ca-certificates \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # 2. Workspace Setup (Still root) | |
| WORKDIR /workspace |
NewerOlder