Add portfolio site with Docker and Coolify setup
Next.js one-page portfolio presented as a versioned changelog, with placeholder content in src/data/profile.ts. Includes a standalone Docker image with a healthcheck and a compose file for Coolify. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
99015eb73b
19 files changed
+2497
No files matched your search
@@ -0,0 +1,37 @@
|
||||
# Ahmed Salem: portfolio
|
||||
|
||||
A one-page Next.js portfolio that tells a career as a software changelog: graduation is
|
||||
version `1.0.0`, the current job is `1.2.0`, and what's in progress sits under
|
||||
"Unreleased". See `DESIGN.md` for the design reasoning.
|
||||
|
||||
## Edit the content
|
||||
|
||||
Everything shown on the page comes from `src/data/profile.ts`. All of it is placeholder
|
||||
data: replace names, dates, projects and links with real ones.
|
||||
|
||||
## Run with Docker
|
||||
|
||||
```bash
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
||||
Then open http://localhost:8080. (Port 3000 inside the container is mapped to 8080 on
|
||||
the host. Change it in `docker-compose.yml`.)
|
||||
|
||||
## Deploy on Coolify
|
||||
|
||||
1. In Coolify, add a new resource from this Git repository, branch `master`.
|
||||
2. Pick either build pack:
|
||||
- **Dockerfile**: set *Ports Exposes* to `3000`.
|
||||
- **Docker Compose**: leave the compose file as `docker-compose.yml`.
|
||||
3. Set your domain and deploy. The image has a healthcheck, so Coolify waits until
|
||||
the site answers before switching traffic.
|
||||
|
||||
`docker-compose.override.yml` only adds the local `8080` port and is ignored by Coolify.
|
||||
|
||||
## Run locally
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
Reference in new issue
Block a user