mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-19 10:40:31 -04:00
feat: provide image with nginx
This commit is contained in:
16
with-proxy/services/starman/run
Normal file
16
with-proxy/services/starman/run
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/with-contenv /bin/bash
|
||||
|
||||
cd /srv/ledgersmb
|
||||
|
||||
# start ledgersmb
|
||||
# --preload-app allows application initialization to kill the entire
|
||||
# starman instance (instead of just the worker, which will immediately
|
||||
# get restarted) on error; it also has a positive effect on memory use
|
||||
|
||||
LSMB_CONFIG_FILE=${LSMB_CONFIG_FILE:-./local/conf/ledgersmb.yaml}
|
||||
export LSMB_CONFIG_FILE
|
||||
echo '--------- LEDGERSMB CONFIGURATION: ledgersmb.conf'
|
||||
cat ${LSMB_CONFIG_FILE}
|
||||
echo '--------- LEDGERSMB CONFIGURATION --- END'
|
||||
|
||||
exec starman --listen 0.0.0.0:5762 --workers ${LSMB_WORKERS:-5} -I lib -I old/lib --preload-app bin/ledgersmb-server.psgi
|
Reference in New Issue
Block a user