Update docker-compose.yml to use environment variables for port and cache TTL
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user