fix(compose): make API host port configurable via PORT env var

This commit is contained in:
germondai
2026-07-05 18:05:34 +02:00
parent 0d35b4d698
commit a78ba4d55a
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ services:
image: ghcr.io/germondai/trawl:latest
restart: unless-stopped
ports:
- "${PORT_API:-8191}:8191"
- "${PORT:-8191}:8191"
environment:
- REDIS_URL=redis://redis:6379
- BROWSER_POOL_SIZE=${BROWSER_POOL_SIZE:-3}
+1 -1
View File
@@ -2,7 +2,7 @@ services:
trawl:
image: ghcr.io/germondai/trawl:latest
ports:
- "8191:8191"
- "${PORT:-8191}:8191"
shm_size: 1gb
environment:
BROWSER_POOL_SIZE: 1
+1 -1
View File
@@ -9,7 +9,7 @@ services:
image: ghcr.io/germondai/trawl:latest
restart: always
ports:
- "8191:8191"
- "${PORT:-8191}:8191"
shm_size: 1gb
mem_limit: 3g
environment:
+2 -2
View File
@@ -7,11 +7,11 @@ services:
trawl:
image: ghcr.io/germondai/trawl:latest
ports:
- "8191:8191"
- "${PORT:-8191}:8191"
shm_size: 1gb
environment:
REDIS_URL: redis://redis:6379
BROWSER_POOL_SIZE: 3
BROWSER_POOL_SIZE: ${BROWSER_POOL_SIZE:-3}
depends_on:
- redis
healthcheck: