attu: I can't log into the system

Discussed in https://github.com/zilliztech/attu/discussions/159

<div type='discussions-op-text'>

Originally posted by xiao12mm December 23, 2022 the code: docker run -p 8000:3000 -e HOST_URL=http://{ your machine IP }:8000 -e MILVUS_URL={your machine IP}:19530 zilliz/attu:latest

I changed the IP address, so I can open the login page, but I can’t log in.

</div>

What are the default user name and password?

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 1
  • Comments: 22

Most upvoted comments


services:
  etcd:
    container_name: milvus-etcd
    image: quay.io/coreos/etcd:v3.5.5
    environment:
      - ETCD_AUTO_COMPACTION_MODE=revision
      - ETCD_AUTO_COMPACTION_RETENTION=1000
      - ETCD_QUOTA_BACKEND_BYTES=4294967296
      - ETCD_SNAPSHOT_COUNT=50000
    volumes:
      - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
    command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd

  minio:
    container_name: milvus-minio
    image: minio/minio:RELEASE.2023-03-20T20-16-18Z
    environment:
      MINIO_ACCESS_KEY: minioadmin
      MINIO_SECRET_KEY: minioadmin
    volumes:
      - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data
    command: minio server /minio_data
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
      interval: 30s
      timeout: 20s
      retries: 3

  standalone:
    container_name: milvus-standalone
    image: milvusdb/milvus:v2.2.12
    command: ["milvus", "run", "standalone"]
    environment:
      ETCD_ENDPOINTS: etcd:2379
      MINIO_ADDRESS: minio:9000
    volumes:
      - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus
    ports:
      - "19530:19530"
      - "9091:9091"
    depends_on:
      - "etcd"
      - "minio"
 
  attu:
   container_name: attu
   image: zilliz/attu:v2.2.7
   environment:
     MILVUS_URL: milvus-standalone:19530
   ports:
     - "8000:3000"
   depends_on:
     - "standalone"

this is my docker-compose.yml, hope can help you !

Some questions:

  • What’s your milvus version?
  • What’s your attu version?
  • docker or standalone application ?

hi,

i solved this my self, i was adding attu in milvus bootcamp reverse image search demo , reading from this page https://milvus.io/docs/attu_install-docker.md , as this page do not mention network line for docker compose, i added these lines as it is and it was not working!, now i added network line in the docker compose file it works. here is my fix if it help a newbie , if you have a default network this line is not needed . line added

networks:
      app_net:
        ipv4_address: 172.16.238.14

working attu block for reverse search demo

attu:
    container_name: attu
    image: zilliz/attu:v2.2.7
    networks:
      app_net:
        ipv4_address: 172.16.238.14
    environment:
      MILVUS_URL: milvus-standalone:19530
    ports:
      - "8000:3000"
    depends_on:
      - "standalone"
  1. You should use a specific version, such as v2.2.5, instead of latest
  2. Check firewall or security group policies