Skip to content
View sarkari-online's full-sized avatar
  • Joined Aug 22, 2026

Block or report sarkari-online

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
sarkari-online/README.md

Sarkari.online — Production Docker DevOps Architecture

A fully isolated, zero-impact Docker production stack for Sarkari.online that runs safely alongside other client websites on an Ubuntu/Nginx server.


🏗️ Architecture Overview

  • sarkari_app: PHP 8.3-FPM + Alpine Nginx + 24/7 Crond Daemon (Bound to 127.0.0.1:8085).
  • sarkari_db: Isolated MariaDB 10.11 on private bridge network sarkari_network.
  • Host Nginx: Serves as a lightweight Reverse Proxy (sarkari.online ➡️ 127.0.0.1:8085) with Certbot SSL.
  • Client Projects: 100% untouched and isolated on the host system.

🚀 5-Minute VPS Deployment Guide (via SSH)

1. Install Docker & Docker Compose on Server (If not installed)

sudo apt update
sudo apt install -y docker.io docker-compose-plugin
sudo systemctl enable --now docker

2. Clone Repository

sudo git clone https://sarkari-online:YOUR_TOKEN@github.com/sarkari-online/sarkari-online.git /var/www/sarkari.online
cd /var/www/sarkari.online

3. Create Environment File (.env)

cp .env.example .env
nano .env

(Add your Gemini API Key, then press Ctrl+O, Enter, Ctrl+X)

4. Build & Start Docker Stack (1-Command)

sudo docker compose up -d --build

(The container will automatically wait for the database, import production_dump.sql with 14 live articles, and start the 24/7 AI publishing cron!)

5. Setup Host Nginx Reverse Proxy

sudo cp host-nginx-reverse-proxy.conf.example /etc/nginx/sites-available/sarkari.online
sudo ln -s /etc/nginx/sites-available/sarkari.online /etc/nginx/sites-enabled/
sudo nginx -t
sudo systemctl reload nginx

6. Activate Free SSL (Certbot HTTPS)

sudo certbot --nginx -d sarkari.online -d www.sarkari.online

📊 Useful Docker DevOps Commands

# Check running containers
docker compose ps

# View live application & cron logs
docker compose logs -f app

# Restart stack
docker compose restart

# Pull & Rebuild on updates
docker compose up -d --build

Popular repositories Loading

  1. sarkari-online sarkari-online Public

    PHP

  2. govt-job-alerts-2026 govt-job-alerts-2026 Public

    Official statutory recruitment notices, admit cards, answer keys, and exam cutoffs curated by Sarkari.online.

    HTML