Skip to content

Commit 42c3f09

Browse files
henrybarretogustavosbarreto
authored andcommitted
chore: define env variable to gateway bind address
Closes #3478
1 parent 8cff603 commit 42c3f09

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# Automatically increased once a new release is out
55
SHELLHUB_VERSION=v0.14.2
66

7+
# This specification details the network interface to which the gateway container will be bound.
8+
SHELLHUB_BIND_ADDRESS=0.0.0.0
9+
710
# The HTTP listen port for the ShellHub web-based GUI, API and Reverse SSH tunnel.
811
# Values: any free port on host
912
SHELLHUB_HTTP_PORT=80

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ services:
9393
- api
9494
- ui
9595
ports:
96-
- ${SHELLHUB_HTTP_PORT}:80
96+
- ${SHELLHUB_BIND_ADDRESS}:${SHELLHUB_HTTP_PORT}:80
9797
networks:
9898
- shellhub
9999
healthcheck:

0 commit comments

Comments
 (0)