mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
feat(server): allow configuring the listen address
Allow native and host-network deployments to select an IPv4 or IPv6 bind address through HOST while preserving the existing wildcard default. Keep Docker health checks aligned with the configured listener and document how to restrict host port publishing independently of the container address. Cover validation, real bootstrap sockets, and health-check commands with tests. Closes #1315
This commit is contained in:
@@ -2,8 +2,13 @@
|
||||
APP_IMAGE=ghcr.io/bookorbit/bookorbit:latest
|
||||
|
||||
# App publish port on host
|
||||
# For access only from this host (such as a host reverse proxy), use 127.0.0.1:3000.
|
||||
APP_PORT=3000
|
||||
|
||||
# Optional listen address inside the container (IPv4 or IPv6, without brackets).
|
||||
# Keep the default for bridge networking; use APP_PORT above to restrict host exposure.
|
||||
# HOST=0.0.0.0
|
||||
|
||||
# Host folder that appears as /books in the container.
|
||||
# Point this at your library root; use an absolute path on NAS/Portainer installs.
|
||||
BOOKS_HOST_PATH=./books
|
||||
|
||||
Reference in New Issue
Block a user