services:
  checkmk:
    container_name: checkmk-${IP}-${PORT}
    image: checkmk/check-mk-raw:latest
    tmpfs:
      - /opt/omd/sites/cmk/tmp:uid=1000,gid=1000
    ulimits:
      nofile: 1024
    volumes:
      - ${DATA_DIR}/monitoring:/omd/sites
      - /etc/localtime:/etc/localtime:ro
    ports:
      - ${IP}:${PORT}:5000
    restart: unless-stopped
networks: {}