build: package persistent deployment and maintenance commands

This commit is contained in:
2026-09-15 21:48:12 +03:30
parent 9319c05710
commit ee9f49e4b7
7 changed files with 59 additions and 12 deletions

15
compose.selfhost.yaml Normal file
View File

@@ -0,0 +1,15 @@
services:
portfolio-app:
build: .
image: portfolio-builder:local
restart: unless-stopped
ports:
- "127.0.0.1:${PORT:-3000}:3000"
environment:
SITE_URL: ${SITE_URL:-http://localhost:3000}
DATA_DIR: /data
volumes:
- ${PORTFOLIO_DATA_DIR:-./data}:/data
- next-image-cache:/app/.next/cache
volumes:
next-image-cache: