gitea. Adding HTTP_BIND_ADDR for HTTP port.
This commit is contained in:
parent
9b25fe729f
commit
11ce6e7f02
|
@ -4,6 +4,7 @@ USER_GID=1000
|
|||
|
||||
HOST_DATA_DIR=./data
|
||||
HOST_PG_DATA_DIR=./db
|
||||
HTTP_BIND_ADDR=127.0.0.1
|
||||
EXT_HTTP_PORT=3000
|
||||
EXT_SSH_PORT=222
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
restart: unless-stopped
|
||||
network_mode: host
|
||||
ports:
|
||||
- "${EXT_HTTP_PORT:-3000}:3000"
|
||||
- "${HTTP_BIND_ADDR:-127.0.0.1}:${EXT_HTTP_PORT:-3000}:3000"
|
||||
- "${EXT_SSH_PORT:-222}:22"
|
||||
volumes:
|
||||
- "${HOST_DATA_DIR:-./data}:/data"
|
||||
|
|
|
@ -14,7 +14,7 @@ services:
|
|||
networks:
|
||||
- gitea
|
||||
ports:
|
||||
- "${EXT_HTTP_PORT:-3000}:3000"
|
||||
- "${HTTP_BIND_ADDR:-127.0.0.1}:${EXT_HTTP_PORT:-3000}:3000"
|
||||
- "${EXT_SSH_PORT:-222}:22"
|
||||
volumes:
|
||||
- "${HOST_DATA_DIR:-./data}:/data"
|
||||
|
|
Loading…
Reference in a new issue