11 Commits
Author SHA1 Message Date
pablo 247ada2b0e Merge pull request 'added traefik labels' (#7) from dev into main
Deploy Next.js App / deploy (push) Successful in 0s
Reviewed-on: #7
2025-03-16 15:07:48 +00:00
pablo 5132ab81b7 added traefik labels 2025-03-16 16:07:19 +01:00
pablo 85f6efc82c Merge pull request 'CI/CD pipepline' (#6) from dev into main
Deploy Next.js App / deploy (push) Failing after 0s
Reviewed-on: #6
2025-03-16 14:53:50 +00:00
pablo 13904c9992 CI/CD pipepline 2025-03-16 15:53:28 +01:00
pablo f8a10a8ff0 Merge pull request 'dev' (#5) from dev into main
Deploy Next.js App / deploy (push) Failing after 0s
Reviewed-on: #5
2025-03-16 14:42:27 +00:00
pablo eab07b849c updated CI/CD pipeline 2025-03-16 15:41:37 +01:00
pablo b3477bb980 Merge pull request 'main' (#4) from main into dev
Reviewed-on: #4
2025-03-16 14:38:12 +00:00
pablo fb90fb637a Merge pull request 'added gitea CI/CD pipepline' (#3) from dev into main
Deploy Next.js App / deploy (push) Failing after 0s
Reviewed-on: #3
2025-03-16 14:34:27 +00:00
pablo d3cb564e1e added gitea CI/CD pipepline 2025-03-16 15:32:51 +01:00
pablo 16d874cf54 Merge pull request 'added dockerfiles' (#1) from dev into main
Reviewed-on: #1
2025-03-16 14:26:35 +00:00
pablo 71e705f7c1 added dockerfiles 2025-03-16 15:25:22 +01:00
9 changed files with 63 additions and 35 deletions
+5
View File
@@ -0,0 +1,5 @@
node_modules
.pnpm-store
.next
.env
.DS_Store
+14
View File
@@ -0,0 +1,14 @@
name: Deploy Next.js App
on:
push:
branches:
- main
jobs:
deploy:
runs-on: linux
steps:
- name: Test Step
run: |
echo "Hello World from Gitea Actions!"
+21
View File
@@ -0,0 +1,21 @@
# Use official Node.js image
FROM node:18-alpine
# Install pnpm globally
RUN npm install -g pnpm
WORKDIR /app
# Copy package manager files first for caching
COPY package.json pnpm-lock.yaml ./
# Install dependencies using pnpm
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
EXPOSE 3004
CMD ["pnpm", "start", "--port", "3004"]
+2 -35
View File
@@ -1,36 +1,3 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app). # Pablo Shortman Portfolio
## Getting Started My personal portfolio site built with Next.js.
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
+21
View File
@@ -0,0 +1,21 @@
version: "3.8"
services:
nextjs:
build: .
container_name: pablo.shortman.me
environment:
- PORT=3004
ports:
- "3004:3004"
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.nextjs.rule=Host(`pablo.shortman.me`)"
- "traefik.http.routers.nextjs.entrypoints=websecure"
- "traefik.http.routers.nextjs.tls.certresolver=myresolver"
networks:
- traefik
networks:
traefik:
external: true