WebDB
Links
  • πŸ‘‹Welcome to WebDB Documentation
  • Installation
    • 1️⃣Standalone
    • πŸ”’Compose
    • ☸️K8S
    • πŸ–₯️Native
    • πŸ›‘οΈSecurity
    • ❌Uninstall
  • Connection
    • DBMS Discovery
    • Credentials Guessing
    • SSH Tunnel
  • Database
  • Interface
    • Schema
    • Database
    • Table
    • Relations
    • Structure
    • Offline
    • Symbols
    • Configuration
  • Explore
    • Explore
    • Search
    • Update
    • Batch Update
  • Query
    • Editor
      • Autocomplete
  • Structure
    • NoSQL inferring limitation
  • Insert
    • Generator
    • Framework embed
    • Foreign Key / Enum
    • Autocomplete
    • Error
  • Monitoring
    • Stats
    • Process List
  • Time machine
  • Compare
  • Blob
  • Encoding / Collation
  • Complexes
  • Backend
    • Configuration
    • Data storage
    • Docker container
  • Compatibility
  • More
    • Offline
    • Business Model
    • Alternatives
Powered by GitBook
On this page
  • Setup
  • Update

Was this helpful?

  1. Installation

Compose

WebDB also works very well from compose. Below, here is a working example of a compose file including WebDB App to start

services:
    webdb:
        image: webdb/app
        restart: always
        extra_hosts:
            - "host.docker.internal:host-gateway"
        volumes:
            - "$HOME/.ssh:/root/.ssh:ro"
            - "$HOME/.webdb:/usr/src/app/static/version"
        ports:
            - "127.0.0.1:22071:22071"

    maria:
        image: mariadb
        ports:
            - 3307:3306
        environment:
            MARIADB_ROOT_PASSWORD: notSecureChangeMe

    postgre:
        image: postgres
        ports:
            - 5432:5432
        environment:
            POSTGRES_USER: root
            POSTGRES_PASSWORD: notSecureChangeMe

    mongo:
        image: mongo
        ports:
            - 27017:27017
        environment:
            MONGO_INITDB_ROOT_USERNAME: root
            MONGO_INITDB_ROOT_PASSWORD: notSecureChangeMe

    cockroach:
        image: cockroachdb/cockroach
        command: start-single-node --insecure
        ports:
            - 26257:26257
        environment:
            COCKROACH_USER: 'root'
            COCKROACH_PASSWORD: 'notSecureChangeMe'

Setup

  1. From your project folder, create a 'docker-compose.yml' file

  2. Copy the content and paste it into

  3. Remove unnecessary databases

  4. From a terminal, navigate to your project

  5. Run: docker-compose up -d

Update

Here is the command to update and relaunch WebDB container

docker pull webdb/app && \
docker-compose down webdb && \
docker-compose up -d webdb
PreviousStandaloneNextK8S

Last updated 7 months ago

Was this helpful?

πŸš€ App is now available on

If you want more informations about the launch parameters ->

If you planned to share WebDB, please read

πŸ”’
http://localhost:22071
https://docs.webdb.app/backend/docker-container
https://docs.webdb.app/installation/security