eltmon/overdeck/pan-docker

Claude Code and agent skill by eltmon/overdeck

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Docker template selection and configuration for workspaces

Install

npx vskill@latest install eltmon/overdeck/pan-docker

SKILL.md

The same SKILL.md was published earlier as eltmon/overdeck/pan-docker.

Docker Template Configuration

Overview

This skill guides you through selecting and configuring Docker templates for Overdeck workspaces. Templates provide containerized development environments with hot reload, databases, and Traefik integration.

When to Use

  • Setting up Docker for a new project
  • Choosing the right template for your stack
  • Configuring container settings
  • Integrating with Traefik for local HTTPS

Available Templates

TemplateStackServices
spring-bootJava 21 + MavenPostgreSQL, Redis
react-viteReact + Vite-
nextjsNext.js 14+-
dotnet.NET 8SQL Server
python-fastapiPython 3.12 + FastAPIPostgreSQL, Redis
monorepoFrontend + BackendPostgreSQL, Redis

Template Selection Guide

By Language/Framework
Your StackRecommended Template
Java/Springspring-boot
React (CRA, Vite)react-vite
Next.jsnextjs
.NET Core/ASP.NETdotnet
Python/FastAPIpython-fastapi
Full-stackmonorepo
By Database Needs
NeedTemplates
PostgreSQLspring-boot, python-fastapi, monorepo
SQL Serverdotnet
Redisspring-boot, python-fastapi, monorepo
No databasereact-vite, nextjs

Workflow: Add Docker to Project

1. Copy Template Files
bash
# Choose your template
TEMPLATE=react-vite # or: spring-boot, nextjs, dotnet, python-fastapi, monorepo
# Copy to project
cp ~/Projects/overdeck/templates/docker/$TEMPLATE/* /path/to/your/project/
2. Create Environment File
bash
cd /path/to/your/project
cat > .env << 'EOF'
# Application
APP_PORT=3000
HOSTNAME=myapp.overdeck.localhost
COMPOSE_PROJECT_NAME=myapp
# Database (if applicable)
DB_NAME=myappdb
DB_USER=postgres
DB_PASSWORD=secretpassword
EOF
3. Start Containers
bash
docker compose up -d
4. Verify
bash
docker compose ps
docker compose logs -f app

Template Details

spring-boot

Files:

  • Dockerfile.dev - Java 21 + Maven
  • docker-compose.yml - App + PostgreSQL + Redis

Ports:

  • 8080: Application
  • 5005: Debug
  • 5432: PostgreSQL
  • 6379: Redis

Hot reload: spring-boot-devtools

react-vite

Files:

  • Dockerfile.dev - Node.js 20
  • docker-compose.yml - App only

Ports:

  • 5173: Vite dev server

Hot reload: Vite HMR with polling

nextjs

Files:

  • Dockerfile.dev - Node.js 20
  • docker-compose.yml - App only

Ports:

  • 3000: Next.js dev server

Hot reload: Fast Refresh with WATCHPACK_POLLING

dotnet

Files:

  • Dockerfile.dev - .NET 8 SDK
  • docker-compose.yml - App + SQL Server

Ports:

  • 5000: Application
  • 1433: SQL Server

Hot reload: dotnet watch

python-fastapi

Files:

  • Dockerfile.dev - Python 3.12
  • docker-compose.yml - App + PostgreSQL + Redis

Ports:

  • 8000: FastAPI
  • 5432: PostgreSQL
  • 6379: Redis

Hot reload: Uvicorn --reload

monorepo

Files:

  • Dockerfile.frontend - React/Vite
  • Dockerfile.backend - Node.js
  • docker-compose.yml - Both + PostgreSQL + Redis

Ports:

  • 5173: Frontend
  • 3001: Backend API
  • 5432: PostgreSQL
  • 6379: Redis

Customization

Add a Service

Edit docker-compose.yml:

yaml
services:
# ... existing services ...
elasticsearch:
image: elasticsearch:8.11.0
environment:
- discovery.type=single-node
ports:
- "9200:9200"
networks:
- app-network

In a stack that declares named networks (as every bundled template does with app-network), every service must list at least one named network or set network_mode: (use network_mode: none for a one-shot job such as a chown or a migration that needs no network). A service with neither, or with an empty networks:, puts Compose on an extra <project>_default network, which uses another bridge subnet. A stack that declares no networks at all and relies only on _default is fine; that network is its only one.

Change Ports

Edit .env:

bash
APP_PORT=8080
DB_PORT=5433
Add Environment Variables

Edit docker-compose.yml under the service:

yaml
environment:
- MY_VAR=value
- ANOTHER_VAR=${FROM_ENV_FILE}

Traefik Integration

All templates include Traefik labels for local HTTPS:

yaml
labels:
- "traefik.enable=true"
- "traefik.http.routers.myapp.rule=Host(`myapp.overdeck.localhost`)"
Enable Traefik
  1. Start Traefik (if not running):

``bash cd /path/to/overdeck/templates/traefik docker compose up -d ``

  1. Connect your app to Traefik network:

``yaml networks: traefik: external: true name: traefik_default ``

  1. Access via: https://myapp.overdeck.localhost

Troubleshooting

Container won't start:

bash
docker compose logs app
# Check for errors, missing dependencies

Hot reload not working:

  • Verify polling is enabled (check Dockerfile/compose)
  • Check volume mounts are correct
  • Restart: docker compose restart app

Port conflicts:

bash
# Find what's using the port
lsof -i :3000
# Change port in .env

Database connection failed:

bash
# Wait for healthcheck
docker compose ps
# Check credentials match

Related Skills

  • /pan:network - Traefik and networking setup
  • /pan:projects - Project management
  • /pan:config - Configuration

Security

  • Security scanPassed, 96 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
13
7-day trend score
13

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/eltmon/overdeck/pan-docker/badge)](https://verified-skill.com/skills/eltmon/overdeck/pan-docker)

Something wrong with this skill or its page? Tell us.