Skip to content

giuseppe-trisciuoglio/developer-kit / plugins/developer-kit-java/skills/wiremock-standalone-docker

wiremock-standalone-docker

Verified

Provides patterns and configurations for running WireMock as a standalone Docker container. Generates mock HTTP endpoints, creates stub mappings for testing, validates integration scenarios, and simulates error conditions. Use when you need to mock APIs, create a mock server, stub external services, simulate third-party APIs, or fake API responses for integration testing.

references/docker-compose.yml

View on GitHub
version: "3.8"

services:
  wiremock:
    image: wiremock/wiremock:3.5.2
    container_name: wiremock-standalone
    ports:
      - "8080:8080"
    volumes:
      - ./wiremock:/home/wiremock
    command: ["--global-response-templating"]
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8080/__healthcheck"]
      interval: 10s
      timeout: 5s
      retries: 5
    networks:
      - wiremock-network

  # Example application that uses WireMock
  # app:
  #   build: .
  #   ports:
  #     - "8081:8081"
  #   environment:
  #     - API_BASE_URL=http://wiremock:8080
  #   depends_on:
  #     - wiremock

networks:
  wiremock-network:
    driver: bridge
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 197kUpdated Claude CodeCodexVerifiedInstall