GitShow/leerob/next-self-host
leerob

next-self-host

An example deploying Next / Postgres / Nginx to a Ubuntu Linux server.

by leerob
Star on GitHubForknpm

TypeScript

1.5k stars206 forks5 contributorsQuiet · 7mo agoSince 2024

Meet the team

See all 5 on GitHub →
leerob
leerob35 contributions
aldrickdev
aldrickdev1 contribution
b3v21
b3v211 contribution
tuladhar
tuladhar1 contribution
dev-kraken
dev-kraken1 contribution

Languages

View on GitHub →
TypeScript59.3%
Shell24.1%
JavaScript14.6%
Dockerfile2%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 2 discussions · Last activity 7mo ago
See all on GitHub →
4Furki4
Need help dockerizing the Next.js app that connects to database on build timeOpenIssue

Greetings folks, I'm trying to self host my project based on the Leerob's guide. The problem is that Leerob hosts a simple next.js application that doesn't generate dynamic metadata that queries the database. My next app tries to connect to the db on the build stage however, the postgres image doesn't boot up before the web image builds. I tried healthcheck and condition however, it still boots the web first and the build ends up with a connection error: !Image Here's my Dockerfile Can anyone help me? This might also help others who try to connect to the db on the build stage.

4Furki4 · 1y ago

Recent fixes

View closed PRs →
abhishekmardiya
Encountering an error during build creation.ClosedIssue

abhishekmardiya · 5mo ago
leerob
Dependencies next.js migrationMergedPR

Update all dependencies to their latest versions, including Next.js 16, and apply required migration changes for compatibility.   [!NOTE] Medium Risk Medium risk due to the major Next.js upgrade and TypeScript compiler setting changes, which can introduce build/runtime regressions and type-check differences. The export rename may break request protection if it was relied on by Next’s middleware loader. Overview Upgrades core dependencies to newer major/minor versions (including Next.js 16, , , , React, and TypeScript), and pins React type packages via . Updates for the newer toolchain (switches to and expands to cover ). Renames the exported function in from to while keeping the same cookie-based redirect behavior for , which may affect how Next detects and runs middleware. Written by Cursor Bugbot for commit 4ce2f87031035e461af8d204a9719c05f2c11df6. This will update automatically on new commits. Configure here. Cursor Bugbot reviewed your changes and found no issues for commit 4ce2f87

leerob · 7mo ago
b3v21
fix: update nextjs to non-vulnerable version (15.1.11)MergedPR

Hey lee, I've been using this repo as a starting point for a project I'm working on and noticed that it's still using a vulnerable version of nextjs (15.1.2) by default. You could argue people should check stuff like this themselves but it's probably good to keep it safe for the noobies (such as myself) out there. I really appreciate this resource, it's been a great starting point for me. Cheers! [!NOTE] Dependency update:** Bumps from to to address security vulnerabilities and keep the framework current. No application code changes; only is updated. Written by Cursor Bugbot for commit 3f487628615d2c7acb705acd06f429f5efe33b31. This will update automatically on new commits. Configure here.

b3v21 · 8mo ago
Structured data for AI agents

Repository: leerob/next-self-host. Description: An example deploying Next / Postgres / Nginx to a Ubuntu Linux server. Stars: 1518, Forks: 206. Primary language: TypeScript. Languages: TypeScript (59.3%), Shell (24.1%), JavaScript (14.6%), Dockerfile (2%). Open PRs: 0, open issues: 2. Last activity: 7mo ago. Community health: 28%. Top contributors: leerob, aldrickdev, b3v21, tuladhar, dev-kraken.

·@ofershap

Replace github.com with gitshow.dev