Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.15 KB

Commento.md

File metadata and controls

36 lines (26 loc) · 1.15 KB

Commento

A fast, bloat-free comments platform

GitHub

Steps for Migration (verified on M1 Mac)

  1. Run PostgreSQL database in Docker:
docker run -it --name postgres -e POSTGRES_PASSWORD=password -e POSTGRES_USER=postgres -e POSTGRES_DB=commento  -p 5432:5432 postgres:12
  1. Run Application: This will automatically run DDL statements on app startup.
docker run -it                                                           \
    -p 80:8080                                                             \
    -e COMMENTO_ORIGIN=http://commento.example.com                         \
    -e COMMENTO_POSTGRES="postgres://postgres:[email protected]:5432/commento?sslmode=disable" \
    registry.gitlab.com/commento/commento
  1. Run YugabyteDB in Docker:
docker run -d --name yugabyte -p7000:7000 -p9000:9000 -p15433:15433 -p5433:5433 -p9042:9042 --network db_migration_network \
 yugabytedb/yugabyte:2024.1.1.0-b137 bin/yugabyted start \
 --background=false \
 --enable_pg_parity_tech_preview
  1. Execute offline migration.
  2. Verify schema and data parity between PostgreSQL and YugabyteDB.