rainfrog Docker & Self-Hosted Deployment

GitHub

A database tool for the terminal

5,043 stars Rust Rust 1 file ยท ~6,763 tokens #database-management#mysql#postgresql#ratatui#rust#sql#sqlite#terminal
RAW Compose
1. Pull Image (DOCKERHUB) docker pull library/postgres
2. Docker Run (1-Click Launch) docker run -d --name rainfrog --restart always postgres:16.3
3. Podman Run podman run -d --name rainfrog --restart always postgres:16.3
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/library/postgres:16.3
5. ORAS Pull (OCI Artifact) oras pull postgres:16.3
6. Compose Deployment docker compose up -d
docker-compose.yml
Download .yml
services:

  rainfrog-postgres:
    container_name: rainfrog-postgres
    image: postgres:16.3
    environment:
      POSTGRES_USER: "root"
      POSTGRES_PASSWORD: "password"
      POSTGRES_DB: "rainfrog"
    ports:
      - "${PG_PORT}:5432"
    volumes:
      - ./dev/pg_init.sql:/docker-entrypoint-initdb.d/00_init.sql

  rainfrog-mysql:
    container_name: rainfrog-mysql
    image: mysql:8.4
    environment:
      MYSQL_ROOT_PASSWORD: "password"
      MYSQL_DATABASE: "rainfrog"
    ports:
      - "${MYSQL_PORT}:3306"
    volumes:
      - ./dev/mysql_init.sql:/docker-entrypoint-initdb.d/schema.sql

  rainfrog-oracle:
    container_name: rainfrog-oracle
    image: gvenzl/oracle-free:23-slim
    environment:
      ORACLE_PASSWORD: password
      APP_USER: rainfrog
      APP_USER_PASSWORD: password
      ORACLE_DATABASE: rainfrog
    ports:
      - "${ORACLE_PORT}:1521"
    volumes:
      - ./dev/oracle_init.sql:/container-entrypoint-initdb.d/init.sql