Add support for #4 - Make Postgres port configurable at run time

This commit is contained in:
John Locke
2016-08-20 08:53:37 -07:00
parent 0034b44033
commit 293fd65da4
3 changed files with 13 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ RUN DEBIAN_FRONTENT=noninteractive && apt-get install -y openjdk-7-jre
# Build time variables
ENV LSMB_VERSION master
ARG CACHEBUST
# Install LedgerSMB
RUN cd /srv && \
@@ -63,6 +64,8 @@ ENV SSMTP_FROMLINE_OVERRIDE YES
#ENV SSMTP_AUTH_METHOD
ENV POSTGRES_HOST postgres
ENV POSTGRES_PORT 5432
ENV DEFAULT_DB lsmb
COPY start.sh /usr/local/bin/start.sh
COPY update_ssmtp.sh /usr/local/bin/update_ssmtp.sh