Ctrl K
ComunidadGuías…

compose/cryostat_k8s.yml

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
services:
  cryostat:
    depends_on:
      db:
        condition: service_healthy
      s3:
        condition: service_healthy
    image: ${CRYOSTAT_IMAGE:-quay.io/cryostat/cryostat:${CRYOSTAT_VERSION:-latest}}
    hostname: cryostat
    expose:
      - "9091"
    ports:
      - "8181:8181"
    labels:
      io.cryostat.discovery: "true"
      io.cryostat.jmxHost: "localhost"
      io.cryostat.jmxPort: "0"
      io.cryostat.jmxUrl: "service:jmx:rmi:///jndi/rmi://localhost:0/jmxrmi"
    environment:
      CRYOSTAT_DISCOVERY_PODMAN_ENABLED: "false"
      CRYOSTAT_DISCOVERY_JDP_ENABLED: "true"
      JAVA_OPTS_APPEND: "-XX:StartFlightRecording=filename=/tmp/,name=onstart,settings=default,disk=true,maxage=5m -Dcom.sun.management.jmxremote.autodiscovery=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9091 -Dcom.sun.management.jmxremote.rmi.port=9091 -Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.local.only=false"
    restart: always
    healthcheck:
      test: curl --fail http://localhost:8181/health/liveness || exit 1
      interval: 10s
      retries: 3
      start_period: 30s
      timeout: 5s