created wrapper.sh to also run pa_job_manager in paweb container, exposed port 55432, have not tested that the job manager is connectable and we prob. should not expose that port in the long run, but for another night

This commit is contained in:
2021-03-03 20:33:51 +11:00
parent 8074225a60
commit df954e1e1a
2 changed files with 6 additions and 1 deletions

4
wrapper.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
python3 ./pa_job_manager.py &
gunicorn --bind=0.0.0.0:443 --workers=2 --threads=2 --certfile /etc/letsencrypt/live/pa.depaoli.id.au/fullchain.pem --keyfile /etc/letsencrypt/live/pa.depaoli.id.au/privkey.pem main:app