mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-19 06:37:11 -04:00
Add reverse proxy configuration option
This commit is contained in:
parent
236a25b767
commit
5a7ec0a2ed
@ -58,6 +58,15 @@ services:
|
|||||||
# SSMTP_AUTH_METHOD:
|
# SSMTP_AUTH_METHOD:
|
||||||
# SSMTP_USE_STARTTLS:
|
# SSMTP_USE_STARTTLS:
|
||||||
# SSMTP_FROMLINE_OVERRIDE:
|
# SSMTP_FROMLINE_OVERRIDE:
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# The PROXY_IP environment variable lets you set the IP address
|
||||||
|
# (range) of the reverse proxy used for TLS termination, which forwards
|
||||||
|
# its requests to this container. When this reverse proxy runs on the
|
||||||
|
# Docker host, the default below applies. In case the reverse proxy is
|
||||||
|
# hosted in a separate container, this setting needs to be adjusted.
|
||||||
|
#
|
||||||
|
# PROXY_IP: 172.17.0.1/12
|
||||||
|
|
||||||
# having the dbdata volume is required to persist our
|
# having the dbdata volume is required to persist our
|
||||||
# data between PostgreSQL container updates; without
|
# data between PostgreSQL container updates; without
|
||||||
|
2
start.sh
2
start.sh
@ -85,6 +85,8 @@ ${LSMB_MAIL_SMTPHOST:+smtphost=$LSMB_MAIL_SMTPHOST
|
|||||||
}${LSMB_MAIL_SMTPPASS:+smtppass=$LSMB_MAIL_SMTPPASS
|
}${LSMB_MAIL_SMTPPASS:+smtppass=$LSMB_MAIL_SMTPPASS
|
||||||
}${LSMB_MAIL_SMTPAUTHMECH:+smtpauthmech=$LSMB_MAIL_SMTPAUTHMECH
|
}${LSMB_MAIL_SMTPAUTHMECH:+smtpauthmech=$LSMB_MAIL_SMTPAUTHMECH
|
||||||
}
|
}
|
||||||
|
[proxy]
|
||||||
|
ip=${PROXY_IP:-172.17.0.1/16}
|
||||||
EOF
|
EOF
|
||||||
export LSMB_CONFIG_FILE='/tmp/ledgersmb.conf'
|
export LSMB_CONFIG_FILE='/tmp/ledgersmb.conf'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user