allow overriding PORT in docker compose
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
5a8c2e63c1
commit
9c93589031
|
@ -8,6 +8,6 @@ services:
|
||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
HOSTNAME: "0.0.0.0"
|
HOSTNAME: "0.0.0.0"
|
||||||
PORT: "8080"
|
PORT: "${PORT:-8080}"
|
||||||
ports:
|
ports:
|
||||||
- '127.0.0.1:18080:8080'
|
- '127.0.0.1:${PORT:-8080}:${PORT:-8080}'
|
||||||
|
|
Loading…
Reference in New Issue