Go to file
2026-03-19 00:07:47 +01:00
app Delete icon-png 2026-03-19 00:07:47 +01:00
components Fix Coming soon 2026-03-13 09:26:40 +01:00
content fix: add missing metadata field to dictionary translations 2026-03-13 09:44:31 +01:00
lib Fix Coming soon 2026-03-13 09:26:40 +01:00
public first udpate 2026-03-13 03:16:25 +01:00
.dockerignore udpate for coming soon 2026-03-13 03:45:13 +01:00
.DS_Store first udpate 2026-03-13 03:16:25 +01:00
.env.example udpate for coming soon 2026-03-13 03:45:13 +01:00
.eslintrc.json udpate for coming soon 2026-03-13 03:45:13 +01:00
.gitignore udpate for coming soon 2026-03-13 03:45:13 +01:00
.nvmrc udpate for coming soon 2026-03-13 03:45:13 +01:00
docker-compose.yml edit docker-compose.yml 2026-03-16 07:53:04 +01:00
Dockerfile Fix runtime mode deployment 2026-03-13 03:48:08 +01:00
Makefile first udpate 2026-03-13 03:16:25 +01:00
next-env.d.ts first udpate 2026-03-13 03:16:25 +01:00
next.config.js udpate for coming soon 2026-03-13 03:45:13 +01:00
package.json udpate for coming soon 2026-03-13 03:45:13 +01:00
README.md udpate for coming soon 2026-03-13 03:45:13 +01:00
tsconfig.json first udpate 2026-03-13 03:16:25 +01:00

Diyaa Website

A bilingual Next.js website prepared for deployment on a private Linux VPS with Docker.

Stack

  • Next.js 14
  • React 18
  • TypeScript
  • Docker / Docker Compose

Local setup

  1. Copy .env.example to .env
  2. Fill in NEXT_PUBLIC_SITE_URL and your real contact links
  3. Choose NEXT_PUBLIC_SITE_MODE=coming-soon or NEXT_PUBLIC_SITE_MODE=full
  4. Install dependencies with npm install
  5. Run npm run dev

Quality checks

  • npm run lint
  • npm run typecheck
  • npm run build
  • npm run check

Docker workflow

  • make build
  • make start
  • make ps
  • make logs
  • make stop

The container healthcheck uses /api/health.

STRATO VPS deployment notes

  1. Install Docker Engine and Docker Compose plugin on the VPS.
  2. Clone the repository on the server.
  3. Create .env from .env.example and set a real domain in NEXT_PUBLIC_SITE_URL.
  4. Run make build once, then make start.
  5. Place Nginx or Caddy in front of the container for HTTPS and domain routing.
  6. Point your domain to the VPS public IP and enable SSL at the reverse-proxy layer.

Environment variables

  • APP_PORT: external port exposed by Docker Compose
  • NEXT_PUBLIC_SITE_URL: canonical site URL used by metadata and sitemap
  • NEXT_PUBLIC_SITE_MODE: coming-soon or full
  • NEXT_PUBLIC_CONTACT_EMAIL: public email shown on the contact page
  • NEXT_PUBLIC_LINKEDIN_URL: LinkedIn profile URL
  • NEXT_PUBLIC_GITHUB_URL: GitHub profile URL