Skip to content

Commit

Permalink
Sync listen port to exposed docker port
Browse files Browse the repository at this point in the history
  • Loading branch information
rb3ckers committed Jun 11, 2019
1 parent 2b41ea8 commit 98d12e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

# Takes these environment variables:
#
# LISTEN_PORT: port to listen on (defaults to 7077)
# LISTEN_PORT: port to listen on (defaults to 8080)
# MAIN: reverse proxy to this address (defaults to localhost:8888)
# USERNAME & PASSWORD: if USERNAME is set protect targets endpoint with basic auth (default to empty)

listen_port=${LISTEN_PORT:-7077}
listen_port=${LISTEN_PORT:-8080}
main=${MAIN:-localhost:8888}
extra_params=$1

Expand Down

0 comments on commit 98d12e3

Please sign in to comment.