Skip to content

Session Logs

Claude-д зориулсан

Session эхлэхдээ энэ хэсгийг уншаад өмнөх session-уудын контекстыг ойлгоно уу.

Quick Reference

SSH Connection

bash
ssh -i "esign.pem" ubuntu@16.171.135.212

Git Push (token ашиглан)

bash
git remote set-url origin https://oauth2:glpat-oP99QZkSuYOyH7Pgudg6FG86MQp1OjEH.01.0w1xfott5@gitlab.gesign.mn/root/gsign-master-prompts.git
git push origin master

Key Pages to Read

  1. Development Environment - Server info, credentials
  2. Technology Stack - Go, Next.js, Databases
  3. Credentials - Passwords, tokens
  4. Master Prompt - Technical specification

Current Status

MetricValue
ProjectGSign Digital Signature Platform
PhaseDevelopment (CI/CD active)
Server16.171.135.212 (t3.large)
Containers15+ Docker containers running
CI/CDGitLab CI (Pipeline active)
Last Update2026-01-24

Server Info (16.171.135.212)

Running Services

ServicePortURL
Frontend (Next.js)3002https://gesign.mn
Backend (Go/Fiber)3000https://api.gesign.mn
Documentation3003https://doc.gesign.mn
HSM Backend8080(internal only)
PostgreSQL5432localhost
MongoDB27017localhost
Redis6379localhost
GitLab8929https://gitlab.gesign.mn
Grafana3001https://grafana.gesign.mn
Prometheus9090https://prometheus.gesign.mn
Adminer5050https://pgadmin.gesign.mn
Mongo Express8081https://mongo.gesign.mn
Redis Commander8082https://redis.gesign.mn

Credentials Summary

ServiceUserPassword
GitLabroot0g00QJVCPICFULDzEihcmGH8G+N4LN9s6yzVVJih/o0=
PostgreSQLgsigngsign_dev_2026
MongoDBgsigngsign_dev_2026
Redis-gsign_dev_2026
Grafanaadmingsign_dev_2026

GitLab API Token: glpat-oP99QZkSuYOyH7Pgudg6FG86MQp1OjEH.01.0w1xfott5

Session History

SessionDateFocusStatus
Session 12026-01-23Project planning, documentation✅ Complete
Session 22026-01-23EC2 setup, Docker containers✅ Complete
Session 32026-01-24Backend, Frontend, CI/CD, Docs site✅ Complete

Project Structure

gsign-master-prompts/
├── gsign-backend/          # Go/Fiber API
├── gsign-frontend/         # Next.js 14 App
├── gsign-docs/             # Documentation site (VitePress)
├── hsm-backend/            # HSM Service
└── README.md               # Project overview

Completed Work

Infrastructure

  • ✅ EC2 server (t3.large, Ubuntu 24.04)
  • ✅ 15+ Docker containers
  • ✅ SSL certificates (*.gesign.mn)
  • ✅ GitLab + CI/CD pipeline
  • ✅ Monitoring (Prometheus + Grafana)
  • ✅ Logging (Loki + Promtail)

Application

  • ✅ Backend API (Go/Fiber)
  • ✅ Frontend (Next.js 14)
  • ✅ HSM Service
  • ✅ Documentation site

CI/CD Pipeline

  • ✅ HSM: test → deploy
  • ✅ Backend: test → build → deploy
  • ✅ Frontend: build → deploy
  • ✅ Docs: build → deploy

Reminder

  • Монгол хэлээр харилц
  • Push хийхдээ token ашигла
  • Session дуусахдаа changelog update хий

GSign Digital Signature Platform