using empty string instead of None to bind dualstack server

This commit is contained in:
Domingo Dirutigliano
2025-09-29 16:28:26 +02:00
parent 2362eb8045
commit 0492f16cea
2 changed files with 2 additions and 2 deletions

2
run.py
View File

@@ -309,7 +309,7 @@ def write_compose(skip_password = True):
"container_name": "firegex",
"build" if g.build else "image": "." if g.build else f"ghcr.io/pwnzer0tt1/firegex:{args.version}",
"ports": [
f"{args.host}:{args.port}:{args.port}"
f"{'' if args.host == 'any' else args.host+':'}{args.port}:{args.port}"
],
"environment": [
f"PORT={args.port}",