Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 747 Bytes

README.md

File metadata and controls

32 lines (29 loc) · 747 Bytes

Docker Compose

You need to expose a config file directly into the container

version: '3.8'
services:
  caldera:
    privileged: true
    image: iotech17/caldera-docker:latest
    ports:
      - "8888:8888"
      - "8443:8443"
      - "7010:7010"
      - "7011:7011/udp"
      - "7012:7012"
      - "8853:8853"
      - "8022:8022"
      - "2222:2222"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /path/caldera.yml:/usr/src/app/conf/default.yml
      - app:/usr/src/app
    command: --insecure --build --fresh --log DEBUG
    
    healthcheck:
      test: ["CMD-SHELL", "wget --no-check-certificate --spider -S http://localhost:8888 || exit 1"]
      interval: 30s
      timeout: 10s
      retries: 3
volumes:
  app: