Portfolio v2
https://altaiar.dev
- TypeScript 98.3%
- Dockerfile 1.1%
- JavaScript 0.5%
|
All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 19s
|
||
|---|---|---|
| .forgejo/workflows | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| .yarnrc.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
Portfolio Website v2
Setup
Domain Records
- Create one A record
Reverse Proxy
- It doesn't matter what reverse proxy you use (Nginx, Apache, Traefik, Caddy, etc)
- Point the record to the web port (default: 3000)
Docker Compose
services:
portfolio:
container_name: portfolio
image: git.altaiar.dev/ahmed/portfolio-2:latest
network_mode: bridge
restart: unless-stopped
volumes:
- config:/app/public/config
- images:/app/public/images
ports:
- 3000:3000
volumes:
config: # Place config.json and resume.pdf here
images: # Place images here
(Optional) Replace volumes with bind mounts according to your setup
Configuration
- The only required field is
name, a two string array for first and last - See instrumentation.ts or config.d.ts for possible values
- Validation is performed on container start, and will exit if anything is invalid