allow overriding PORT in docker compose

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-04-30 12:49:39 +02:00
parent 5a8c2e63c1
commit 9c93589031
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,6 @@ services:
env_file: .env
environment:
HOSTNAME: "0.0.0.0"
PORT: "8080"
PORT: "${PORT:-8080}"
ports:
- '127.0.0.1:18080:8080'
- '127.0.0.1:${PORT:-8080}:${PORT:-8080}'