Skip to content

Instantly share code, notes, and snippets.

View ikamal7's full-sized avatar
πŸ’»
Tea & Code

Kamal Hosen ikamal7

πŸ’»
Tea & Code
View GitHub Profile
services:
web:
build: .
container_name: warranty-web
restart: always
env_file: .env
ports:
- "4200:3000"
@ikamal7
ikamal7 / Dockerfile
Created December 1, 2025 08:23
FROM node:20-bullseye
WORKDIR /app
# Copy only package files to install deps
COPY package.json package-lock.json* ./
RUN npm install
# Copy source code INCLUDING prisma now

Got it β€” your project already contains Dockerfile + docker-compose.yml, and you want a clean step-by-step deployment guide using only the existing files, cloning via SSH, and setting up Nginx + Certbot on Ubuntu 22.04.

Below is the exact sequence of commands you’ll run on a fresh server.

Everything is copy-paste ready.


βœ… 1) Install Git + SSH + Docker + Docker Compose

server {
listen 80;
listen [::]:80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
{{ssl_certificate_key}}
{{ssl_certificate}}
server_name admin.stellargrade.ca;
{{root}}
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
(function ($) {
$(document).ready(function () {
var table = $('#example').DataTable({
pageLength: 13, // or 14
lengthChange: false,
select: true, // enable select extension
searching: true,
dom: 'lrtip', // Remove default search elements
// sorting: false,
<?php
namespace WpAuthor\Src\Admin;
class Admin_Manager {
use \WpAuthor\Traits\Singleton;
public function init()
.ui-datepicker {
background: #fff;
font-size: 13px;
left: 0;
border: 1px solid #ccd0d4;
line-height: 34px;
border-top-color: #007cba;
}
.ui-datepicker table{
border-spacing: 0;

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: