Skip to content

KalvadTech/duckdb-ui-remote-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DuckDB UI Remote

A Docker container that provides remote access to the DuckDB UI through HAProxy with SSL termination.

DuckDB UI Demo

Security Considerations

  • DuckDB UI was designed for use on localhost, likely to prevent unauthorized access to your data
  • Running the container and accessing it over the public web may expose your data to unauthorized actors
  • The HAProxy configuration modifies request headers to bypass the DuckDB UI's localhost restriction, essentially bypassing the security measure

Overview

This project containerizes the DuckDB UI and makes it accessible via HTTPS using HAProxy as a reverse proxy. The setup:

  • Runs the DuckDB UI in a container
  • Configures HAProxy to handle incoming connections
  • Uses a self-signed SSL certificate for HTTPS connections
  • Modifies request headers for compatibility with DuckDB UI

Prerequisites

  • Docker
  • Docker Compose

Running the Container

  1. Clone this repository:

    git clone https://github.com/skyscopetech/duckdb-ui-remote-docker.git
    cd duckdb-ui-remote
  2. Build and start the container:

    docker compose up -d
  3. Access the DuckDB UI in your browser at https://{your-machine-host}:8443.

Note: Your browser will show a security warning because of the self-signed certificate. You'll need to accept this exception to proceed.

About

Access the DuckDB UI remotely and bypass localhost restrictions

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dockerfile 81.0%
  • Shell 19.0%