The docker hub repository address reference is: https://hub.docker.com/r/geboai/gebo.ai
Installing the software with the docker-composer for a IT manager, an IT professional or a “power user is quite easy:
- Run the docker-compose.yml provided file with the docker-compose command to have the system up & running.
- Access the server you’ve installed it web page=> http://<your server address>:12999/ and enter your email and a password to administer the on premise software locally.
- Enter the software and setup the system with the provieded “Setup” wizard section.
Actually, for the lack of vector databases installable “on premise” on the windows platforms, our software can be installed using docker-composer on both linux/*nix, mac and windows server infrastructures. Seems that for the plan of most of the infrastructure software producer for the “AI Era” Windows server “is not a thing”. But for US at Gebo.ai definitely “IT IS” so we will provide trick and guide in the future also for complete “On premise” installation of all the stack.
Prerequisites to run the docker version:
- Docker and docker-composer (on 2.X version) have to be installed on your server (for ubuntu server choose docker.io packages from the main repository with docker version)
- You require your own OpenAI account and API Key (or a Nvidia NIM Api Key) enabled to receive traffic and with a specific credit on your account (the only subscription is not enough, additional credit to use must be present in your account to support api key embedding and chatbot activities.
- All other supported large language model providers or ollama server can be configured accessing the administration panel of the software.
- Your company firewalls and network traffic must be open on doing requests and exchanging data to the providers you’ll choose in the software like: OpenAI, XaI, Anthropic, Nvidia NIM or also you can use local large language models via ollama server in your network.
If you own only windows servers infrastructure install docker server side support on it (https://learn.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tabs=dockerce#windows-server-1) or install a linux VM on your virtual infrastructure as a dedicated VM to test this system.
Here it follows a docker-composer yml file to launch the system.
To install the docker Gebo.ai tech preview 1.0.0.0-rc1 actually published to docker hub central https://hub.docker.com/r/geboai/gebo.ai you can use the following docker-compose.yml file (this version works on both windows and linux):
version: '3.1'
#================================================================
# This compose file creates a service for gebo.ai enterprise retrive augmented generation system
# and its required mongodb (database) and qdrant (vector database) services
# once runned simply open the address http://<your host address:12999/ with your browser
# it will be required to create the administrative account and you'll be ready to setup and
# start immediately to share the application with your company or team.
services:
# =======================
# MongoDB
# =======================
# Bound only on loopback interface for security reasons
mongo:
image: mongo
restart: always
ports:
- "127.0.0.1:27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: mongoroot
MONGO_INITDB_ROOT_PASSWORD: mongopwd
command: ["mongod", "--wiredTigerCacheSizeGB=1"]
# =======================
# Qdrant
# =======================
# Bound only on loopback interface for security reasons
qdrant:
image: qdrant/qdrant
restart: always
ports:
- "127.0.0.1:6333:6333"
- "127.0.0.1:6334:6334"
environment:
QDRANT__SERVICE__API_KEY: ce7c85bc-f037-4c64-91d8-70335638329d
QDRANT__STORAGE__OPTIMIZE_INDEXING: "true"
QDRANT__STORAGE__RAM_DISK_SIZE: "256MB"
QDRANT__STORAGE__MAX_SEGMENT_SIZE: "1000000"
neo4j:
image: neo4j:5
restart: always
ports:
- "127.0.0.1:7474:7474"
- "127.0.0.1:7687:7687"
environment:
NEO4J_AUTH: "neo4j/neo4jmaster"
NEO4J_server_memory_heap_initial__size: 1G
NEO4J_server_memory_heap_max__size: 2G
NEO4J_server_memory_pagecache_size: 512M
NEO4JLABS_PLUGINS: '["apoc"]'
NEO4J_apoc_export_file_enabled: "true"
NEO4J_apoc_import_file_enabled: "true"
NEO4J_apoc_import_file_use__neo4j__config: "true"
# =======================
# gebo.ai
# =======================
# Bound to all host interface
gebo.ai:
image: geboai/gebo.ai
restart: always
ports:
- "12999:12999"
depends_on:
- mongo
- qdrant
- neo4j
deploy:
resources:
limits:
# Limit memory usage to 4GB
memory: 4G
environment:
#SPRING_PROFILES_ACTIVE: "prod"
#Jvm settings
JAVA_TOOL_OPTIONS:
--enable-native-access=ALL-UNNAMED
-Dsun.jnu.encoding=UTF-8
-Dfile.encoding=UTF-8
-Dai.gebo.neo4j.enabled=true
-XX:+AggressiveHeap
-XX:+PrintGCDetails
-Xlog:gc:/opt/gebo.ai/logs/gc.log
-Xms2g
-Xmx4g
-XX:MaxMetaspaceSize=512m
--add-opens=java.base/java.nio.charset=ALL-UNNAMED
This is a more secure and linux specific docker-compose.yml that assumes you’ve created a gebo.ai user in wich home page the software runs and that that user can access the /mnt folder in wich you’ve mounted the shared filesystems of your company, please create all listed directories before running this docker-compose.yml file:
version: "3.1"
#================================================================
# This compose file creates a service for gebo.ai enterprise retrive augmented generation system
# and its required mongodb (database) and qdrant (vector database) services
# once runned simply open the address http://<your host address:12999/ with your browser
# it will be required to create the administrative account and you'll be ready to setup and
# start immediately to share the application with your company or team.
services:
# =======================
# MongoDB
# =======================
# Bound only on loopback interface for security reasons
mongo:
image: mongo
restart: always
ports:
- "127.0.0.1:27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: mongoroot
MONGO_INITDB_ROOT_PASSWORD: mongopwd
command: ["mongod", "--wiredTigerCacheSizeGB=1"]
volumes:
# Bind mount a local directory instead of named volume
- /home/gebo.ai/mongo:/data/db
# =======================
# Qdrant
# =======================
# Bound only on loopback interface for security reasons
qdrant:
image: qdrant/qdrant
restart: always
ports:
- "127.0.0.1:6333:6333"
- "127.0.0.1:6334:6334"
environment:
QDRANT__SERVICE__API_KEY: ce7c85bc-f037-4c64-91d8-70335638329d
QDRANT__STORAGE__OPTIMIZE_INDEXING: "true"
QDRANT__STORAGE__RAM_DISK_SIZE: "256MB"
QDRANT__STORAGE__MAX_SEGMENT_SIZE: "1000000"
volumes:
# Bind mount a local directory
- /home/gebo.ai/qdrant:/qdrant/storage
neo4j:
image: neo4j:5
restart: always
# Expose HTTP (7474) and Bolt (7687) on loopback for local access
ports:
- "127.0.0.1:7474:7474"
- "127.0.0.1:7687:7687"
environment:
# Auth: username/password
NEO4J_AUTH: "neo4j/neo4jmaster"
# Optional tuning (comment out if not needed)
NEO4J_server_memory_heap_initial__size: 1G
NEO4J_server_memory_heap_max__size: 2G
NEO4J_server_memory_pagecache_size: 512M
# Allow APOC when you add the plugin in /plugins
NEO4JLABS_PLUGINS: '["apoc"]'
NEO4J_apoc_export_file_enabled: "true"
NEO4J_apoc_import_file_enabled: "true"
NEO4J_apoc_import_file_use__neo4j__config: "true"
volumes:
- /home/gebo.ai/neo4j/data:/data
- /home/gebo.ai/neo4j/logs:/logs
- /home/gebo.ai/neo4j/plugins:/plugins
- /home/gebo.ai/neo4j/import:/import
# =======================
# gebo.ai
# =======================
# Bound to all host interface
gebo.ai:
image: geboai/gebo.ai
restart: always
ports:
- "12999:12999"
depends_on:
- mongo
- qdrant
- neo4j
volumes:
# Bind mount two local directories for work and home
- /home/gebo.ai/work:/opt/gebo.ai/work
- /home/gebo.ai/home:/opt/gebo.ai/home
- /home/gebo.ai/logs:/opt/gebo.ai/logs
- /mnt:/opt/gebo.ai/shares
deploy:
resources:
limits:
# Limit memory usage to 4GB
memory: 4G
environment:
SPRING_PROFILES_ACTIVE: "prod"
#Jvm settings
JAVA_TOOL_OPTIONS: --enable-native-access=ALL-UNNAMED
-Dsun.jnu.encoding=UTF-8
-Dfile.encoding=UTF-8
-Dai.gebo.neo4j.enabled=true
-XX:+AggressiveHeap
-XX:+PrintGCDetails
-Xlog:gc:/opt/gebo.ai/logs/gc.log
-Xms2g
-Xmx4g
-XX:MaxMetaspaceSize=512m
--add-opens=java.base/java.nio.charset=ALL-UNNAMED
Write one of these docker-compose.yml files in your docker-compose.yml local file and launch the software with the “docker-compose up -d” command.
The software startup will require a while, after that go to: http://<your server>:12999/ to setup the administrative account and your LLMS providers accounts api key (openai, nvidia nim or groq).
Actually to have better results, we suggest using chatgpt/openai api keys with a proper credit specifically loaded to use the system.
After the first setup procedure the system will automatically set gpt4-o as chatting model and a proper openai embedding model to coherently index your company’s knowledge base and assist your users with specific retrieve augmented generation chats.