Bytebase

Safe database schema change and version control for DevOps teams, supports MySQL, PostgreSQL, TiDB, ClickHouse, and Snowflake.

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

version: "3.3"
services:
  bytebase:
    image: elestio/bytebase:${SOFTWARE_VERSION_TAG}
    init: true
    container_name: bytebase
    restart: always
    ports:
      - "172.17.0.1:8458:5678"
    volumes:
      - ~/.bytebase/data:/var/opt/bytebase
    command: ["--data", "/var/opt/bytebase","--external-url","https://${DOMAIN}", "--port", "5678"]
 
  employee-prod:
    image: bytebase/sample-database:mysql-employee-small
    ports:
      -  172.17.0.1:3406:3306
 
  employee-test:
    image: bytebase/sample-database:mysql-employee-small
    ports:
      -  172.17.0.1:3407:3306

Resources

Website: https://www.bytebase.com/

GitHub: https://github.com/bytebase/bytebase

Docker Hub (Elestio): https://hub.docker.com/r/elestio/bytebase

Configuration: See the Docker Hub page