π One-Command Startup: Get OpenWebUI with H2O GPTe pipelines running instantly!
For this one you need to have docker preinstalled. You may need to create a PAT from GitHub to pull the images from the GitHub container registry.
./start.shOnce your Docker containers are running, follow these steps to get H2O GPTe working:
- Open your browser and go to: http://localhost:3000
- Create your first-time admin account (this only happens once)
- Login with your new admin credentials
- Click on your profile icon (top-right corner)
- Go to Settings
- Navigate to Admin Settings > Connections
- Add a new connection with these details:
- URL:
http://host.docker.internal:9090 - API Key:
0p3n-w3bu!
- URL:
- Save the connection
- Stay in Admin Settings and go to Pipelines
- You should see the available pipelines listed
- Find and click on h2ogpte_pipeline to configure it
- Fill in the required fields:
- URL: [Your H2O GPTe server URL]
- API Key: [Your H2O GPTe API key]
- Collection ID: [Your collection ID]
- Collection Name: [Your collection name]
- Save the pipeline configuration
- Go back to the main chat interface
- Check the Models dropdown - you should now see h2ogpte listed
- Select h2ogpte as your model
- Start querying! π
β Success Indicator: When you see "h2ogpte" in your models dropdown, everything is working correctly!
-
Generate a Personal Access Token:
GitHub β Settings β Developer settings β Personal access tokens β Tokens (classic) β Generate new token- Select scopes:
read:packages,write:packages(if pushing),repo(if pulling private repos).
- Select scopes:
-
Authenticate Docker with your PAT:
echo "<YOUR_PAT>" | docker login ghcr.io -u <YOUR_GITHUB_USERNAME> --password-stdinmake install # Setup and start everything
# OR
make start # Just start the servicesdocker-compose up -dAccess your services at:
- π OpenWebUI: http://localhost:3000
- π§ Pipelines API: http://localhost:9090
./start.sh # Start everything (default)
./start.sh start # Start all services
./start.sh stop # Stop all services
./start.sh restart # Restart all services
./start.sh logs # View logs
./start.sh clean # Clean up everything
./start.sh help # Show helpmake help # Show all available commands
make start # Start all services
make stop # Stop all services
make restart # Restart all services
make logs # View all logs
make clean # Clean up containers and volumes
make setup # Check dependencies and setup
make install # Complete setup + start
make status # Show service status
make update # Update container images- Run
./start.shto start everything - Visit http://localhost:3000 and create an admin account
- Go to Admin Panel > Settings > Connections
- Add pipeline URL:
http://host.docker.internal:9090 - Configure your H2O GPTe settings in the pipeline
- OpenWebUI Container: The main web interface
- Pipelines Container: H2O GPTe pipeline integration
- Shared Volumes: For data persistence and file sharing
- Network: Isolated network for container communication
- Docker and Docker Compose
- Available ports: 3000 (OpenWebUI), 9090 (Pipelines)
The startup script will check for these dependencies automatically.
./start.sh clean # Clean everything
./start.sh start # Try againmake status
# OR
docker-compose psmake logs # All services
make logs-web # OpenWebUI only
make logs-pipeline # Pipelines onlyIf ports 3000 or 9090 are in use, modify docker-compose.yaml:
ports:
- "8080:8080" # Change 3000 to 8080Update to latest versions:
make update
make restartRemove everything (containers, volumes, data):
./start.sh clean
# OR
make cleanopenwebui-h2oGPTe/
βββ start.sh # One-command startup script
βββ Makefile # Make commands for easy management
βββ docker-compose.yaml # Container orchestration
βββ README.md # This file
βββ pipelines/ # H2O GPTe pipeline files
βββ h2o_pipelinev2_docker.py
βββ h2opipelinev2.py
βββ h2opipelinev3.py
βββ h2opipilenev1.py
The project includes several pipeline versions:
h2o_pipelinev2_docker.py- Docker-optimized pipelineh2opipelinev2.py- Standard pipeline v2h2opipelinev3.py- Latest pipeline versionh2opipilenev1.py- Legacy pipeline v1
Customize your setup with these environment variables:
# In your shell or .env file
export WEBUI_SECRET_KEY="your-custom-secret-key"
export PIPELINES_API_KEY="your-custom-api-key"To develop custom pipelines:
- Place your pipeline files in the
pipelines/directory - They'll be automatically mounted into the pipelines container
- Restart the pipelines service:
docker-compose restart pipelines
- After startup, visit http://localhost:3000
- Create an admin account (first-time only)
- Navigate to Admin Panel > Settings > Connections
- Add connection:
- URL:
http://host.docker.internal:9090 - API Key: Check your console output or use default
- URL:
- Go to Pipelines section in OpenWebUI
- Upload your H2O pipeline file from the
pipelines/directory - Configure pipeline settings as needed
- Start using H2O GPTe through OpenWebUI interface
Ready to start? Just run ./start.sh and you're good to go! π
Ready to start? Just run ./start.sh and follow the setup guide above! π
