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