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: . build: .
container_name: siti-plugin-repo container_name: siti-plugin-repo
ports: ports:
- "8080:3001" - "${HOST_PORT:-8080}:${PORT:-3001}"
environment: environment:
PORT: "3001" PORT: "${PORT:-3001}"
CACHE_TTL_MS: "600000" CACHE_TTL_MS: "${CACHE_TTL_MS:-600000}"
restart: unless-stopped restart: unless-stopped