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_DATA_DIR=./data
|
||||||
HOST_PG_DATA_DIR=./db
|
HOST_PG_DATA_DIR=./db
|
||||||
|
HTTP_BIND_ADDR=127.0.0.1
|
||||||
EXT_HTTP_PORT=3000
|
EXT_HTTP_PORT=3000
|
||||||
EXT_SSH_PORT=222
|
EXT_SSH_PORT=222
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: host
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- "${EXT_HTTP_PORT:-3000}:3000"
|
- "${HTTP_BIND_ADDR:-127.0.0.1}:${EXT_HTTP_PORT:-3000}:3000"
|
||||||
- "${EXT_SSH_PORT:-222}:22"
|
- "${EXT_SSH_PORT:-222}:22"
|
||||||
volumes:
|
volumes:
|
||||||
- "${HOST_DATA_DIR:-./data}:/data"
|
- "${HOST_DATA_DIR:-./data}:/data"
|
||||||
|
|
|
@ -14,7 +14,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
ports:
|
ports:
|
||||||
- "${EXT_HTTP_PORT:-3000}:3000"
|
- "${HTTP_BIND_ADDR:-127.0.0.1}:${EXT_HTTP_PORT:-3000}:3000"
|
||||||
- "${EXT_SSH_PORT:-222}:22"
|
- "${EXT_SSH_PORT:-222}:22"
|
||||||
volumes:
|
volumes:
|
||||||
- "${HOST_DATA_DIR:-./data}:/data"
|
- "${HOST_DATA_DIR:-./data}:/data"
|
||||||
|
|
Loading…
Reference in a new issue