Verba Docker installation on Debian

Description

I am trying to deploy Verba via a docker on a debian server.
it fails with this:
Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’)':
=> => # /simple/weaviate-client/

Server Setup Information

  • Weaviate Server Version:
  • Deployment Method: Docker-Verba+Ollama
  • Multi Node? No Number of Running Nodes:
  • Client Language and Version: Python 3.11
  • Multitenancy?:
    No

Any additional Information

NOTE: I have Ollama up and working on the local machine, the same machine I am trying to run the verba docker.
=> => # d0037590>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’)‘:
=> => # /simple/weaviate-client/
=> => # WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connec
=> => # tion broken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1d
=> => # d0035750>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’)':
=> => # /simple/weaviate-client/

  1. I verified my variables are set.
  2. and Here is my docker-compose.yml file content

docker-compose.yml


services:
verba:
build:
context: ./
dockerfile: Dockerfile
ports:
- 8000:8000
environment:
- WEAVIATE_URL_VERBA=localhost:8000
- OLLAMA_URL=localhost:11434
- OLLAMA_MODEL=$OLLAMA_MODEL
- UNSTRUCTURED_API_KEY=$UNSTRUCTURED_API_KEY
- UNSTRUCTURED_API_URL=$UNSTRUCTURED_API_URL

volumes:
  - ./data:/data/
depends_on:
  weaviate:
    condition: service_healthy
healthcheck:
  test: wget --no-verbose --tries=3 --spider http://localhost:8000 || exit 1
  interval: 5s
  timeout: 10s
  retries: 5
  start_period: 10s
networks:
  - ollama-docker

weaviate:
command:
- --host
- 0.0.0.0
- --port
- ‘8080’
- --scheme
- http
image: semitechnologies/weaviate:1.25.10
ports:
- 8080:8080
- 3000:8080
volumes:
- weaviate_data:/var/lib/weaviate
restart: on-failure:0
healthcheck:
test: wget --no-verbose --tries=3 --spider http://localhost:8080/v1/.well-known/ready || exit 1
interval: 5s
timeout: 10s
retries: 5
start_period: 10s
environment:
OPENAI_APIKEY: $OPENAI_API_KEY
COHERE_APIKEY: $COHERE_API_KEY
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: ‘true’
PERSISTENCE_DATA_PATH: ‘/var/lib/weaviate’
ENABLE_MODULES: ‘e’
CLUSTER_HOSTNAME: ‘node1’
networks:
- ollama-docker

Uncomment to use Ollama within the same docker compose

ollama:

image: ollama/ollama:latest

ports:

- 7869:11434

volumes:

- .:/code

- ./ollama/ollama:/root/.ollama

container_name: ollama

pull_policy: always

tty: true

restart: always

environment:

- OLLAMA_KEEP_ALIVE=24h

- OLLAMA_HOST=0.0.0.0

networks:

- ollama-docker

volumes:
weaviate_data: {}

networks:
ollama-docker:
external: false

I successfully installed from source.

1 Like

hi @Rodney_Puplampu !!

Thanks for sharing!

We provide a docker image here:
https://hub.docker.com/r/semitechnologies/verba

So o need to build it :slight_smile: