Docker Port Enablement

Hi,

I have started using tigergraph and I want to know how can we enable port 9000/echo on tigergraph docker container

Hi @Urvashi,

welcome to our community.

You can use docker-compose with this setup to expose ports 22, 9000 and 14240 (GUI). The image is based on minideb jessie. If you need to define networking around your container, please check this article:

Best,
Bruno

version: "3.8"
services:
  tg_dev3:
    image: "xpertmind/tigergraph:latest_deb"
    container_name: tg_dev3
    restart: unless-stopped
    ports:
      - 9000
      - 22
      - 14240
    ulimits:
      nofile:
        soft: 1000000
        hard: 1000000
    volumes:
      - ./data:/var/lib/tigergraph/data
      - ./scripts:/home/tigergraph/scripts
    stdin_open: true
    tty: true
    networks:
      tg_net:

    healthcheck:
            test: ["CMD-SHELL", "curl --fail http://localhost:9000/echo || exit 1"]
            interval: 5s
            timeout: 10s
            retries: 5