Map the LedgerSMB port (5762) explicitly to local loopback (only)

This commit is contained in:
Erik Huelsmann 2020-06-17 21:44:13 +02:00
parent 966c1fd043
commit ffb7ff1a09

View File

@ -32,14 +32,8 @@ services:
networks:
- internal
- default
# Uncomment the 'ports' section to map the LedgerSMB container port (5762)
# to the host's port of the same number, thus making LedgerSMB
# available on http://<host-dns-or-ip>:5762/
# SECURITY NOTE: Do this for evaluation purposes only!
# In production, be sure to use SSL/TLS to protect user's passwords
# and other sensitive data
# ports:
# - "5762:5762"
ports:
- "127.0.0.1:5762:5762"
environment:
# The LSMB_WORKERS environment variable lets you select the number
# of processes serving HTTP requests. The default number of 2 workers