build: package persistent deployment and maintenance commands
This commit is contained in:
15
compose.selfhost.yaml
Normal file
15
compose.selfhost.yaml
Normal 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:
|
||||
Reference in New Issue
Block a user