mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-26 09:37:11 -04:00
Use plackup and port 5001 to comply with tests
This commit is contained in:
parent
0172780440
commit
fe355be93f
@ -21,7 +21,7 @@ RUN DEBIAN_FRONTENT=noninteractive && \
|
|||||||
libmoosex-nonmoose-perl \
|
libmoosex-nonmoose-perl \
|
||||||
texlive-latex-recommended \
|
texlive-latex-recommended \
|
||||||
texlive-xetex \
|
texlive-xetex \
|
||||||
starman \
|
curl \
|
||||||
libopenoffice-oodoc-perl \
|
libopenoffice-oodoc-perl \
|
||||||
postgresql-client \
|
postgresql-client \
|
||||||
ssmtp \
|
ssmtp \
|
||||||
@ -85,9 +85,11 @@ RUN mkdir -p /tmp && \
|
|||||||
chmod 1777 /tmp
|
chmod 1777 /tmp
|
||||||
|
|
||||||
# Internal Port Expose
|
# Internal Port Expose
|
||||||
EXPOSE 5000
|
EXPOSE 5001
|
||||||
|
|
||||||
# If ledgersmb.conf does not exist, www-data user needs to be able to create it.
|
# If ledgersmb.conf does not exist, www-data user needs to be able to create it.
|
||||||
RUN chown www-data /srv/ledgersmb
|
RUN chown www-data /srv/ledgersmb
|
||||||
|
|
||||||
USER www-data
|
USER www-data
|
||||||
|
|
||||||
CMD ["start.sh"]
|
CMD ["start.sh"]
|
||||||
|
4
start.sh
4
start.sh
@ -32,4 +32,6 @@ done ;
|
|||||||
echo "Selected PERL5LIB=$PERL5LIB";
|
echo "Selected PERL5LIB=$PERL5LIB";
|
||||||
|
|
||||||
# start ledgersmb
|
# start ledgersmb
|
||||||
exec starman --port 5000 tools/starman.psgi
|
exec plackup --port 5001 --server HTTP::Server::PSGI tools/starman.psgi \
|
||||||
|
--Reload "lib, old/lib, xt/lib"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user