Update docker-compose.yml to use environment variables for port and cache TTL

This commit is contained in:
2026-01-31 18:49:06 +00:00
parent 6262801f8a
commit 561f7fb5f2

View File

@@ -4,8 +4,8 @@ services:
build: .
container_name: siti-plugin-repo
ports:
- "8080:3001"
- "${HOST_PORT:-8080}:${PORT:-3001}"
environment:
PORT: "3001"
CACHE_TTL_MS: "600000"
PORT: "${PORT:-3001}"
CACHE_TTL_MS: "${CACHE_TTL_MS:-600000}"
restart: unless-stopped