mirror of
https://github.com/germondai/trawl.git
synced 2026-08-17 12:11:23 +02:00
fix(compose): make API host port configurable via PORT env var
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user