|
|
90b3fe4c2f
|
try to warm the cache to help with restart / traefik not noticing
|
2025-10-25 18:06:38 +11:00 |
|
|
|
e36fc170f1
|
moved container cwd to ~/src/photoassistant so that gunicorn can react to src code changes, also forced logs to docker logs
|
2025-08-19 20:22:20 +10:00 |
|
|
|
a0b4b80ca9
|
clean up and use pauser
|
2024-12-07 19:40:29 +11:00 |
|
|
|
d53bffcab9
|
allow this to work in padev container (e.g. run as mythtv)
|
2024-06-29 13:49:31 +10:00 |
|
|
|
d86893875d
|
added capability to run a dev container for pa, and if we re-build we create a new .sk and remove old PA_UserState on fresh login. BUG-120 is either fixed by this or at least the log catches it and does not crash now (if we rebuild between re-use)
|
2024-03-10 23:52:34 +11:00 |
|
|
|
42eeed7c45
|
move to ssl offloading, rather than processing ssl inside the python code - just easier / more consistent with other traefik enabled containers
|
2024-03-10 13:39:00 +11:00 |
|
|
|
ad8cd69939
|
adding sleep as a catch-all, its useful when python code kills gunicorn, at least the container stays up and I can get into it and debug
|
2023-09-26 12:10:50 +10:00 |
|
|
|
b952fe82f6
|
large refactor of code to use venv (in .python) for DEV, to use consistent python versions with PROD, sepcifically flask 2.2.2 to address the deprecation of FLASK_ENV -> replaced with ENV. Fixed up git and dockerignores to be more stringent
|
2022-12-31 15:42:03 +11:00 |
|
|
|
063e3d1a04
|
quick test / reorder commands
|
2022-12-28 19:51:03 +11:00 |
|
|
|
750b903a9d
|
using python unbuffered (-u) on job mgr to force output into log file
|
2022-07-21 22:56:50 +10:00 |
|
|
|
faeec228ca
|
get output from gunicorn into some logs for now
|
2022-03-12 22:23:41 +11:00 |
|
|
|
1dbffe0d6f
|
fix up quotes and log stdout of job mgr to /var/log/pa_job_manager.out
|
2022-01-15 16:35:17 +11:00 |
|
|
|
126b17aa33
|
make prod pa_job_manager have FLASK_ENV of production and use localhost for job mgr host
|
2021-06-27 14:37:53 +10:00 |
|
|
|
4bda64ca17
|
hide prod DB inside docker network so only paweb can get to prod, created a new DEV DB on port 65432 and if FLASK_ENV is development you get that one
|
2021-06-27 13:12:42 +10:00 |
|
|
|
f9d505a1b8
|
tweaked workers/threads, not sure what is best, but this will do
|
2021-06-26 16:46:38 +10:00 |
|
|
|
66455b9f43
|
putting more threads in, if a DB exec is slow, the whole things stops -- might have DB contention between viewing and importing?
|
2021-06-19 17:15:50 +10:00 |
|
|
|
6e50390886
|
use su mythtv, not su - mythtv... myth has no home dir
|
2021-03-24 19:35:19 +11:00 |
|
|
|
924058e18d
|
made pa_job_manager use mythtv:mythtv, but had to hardcode PJM_* vars, I tried to pass them through docker-compose.yml
|
2021-03-18 19:08:30 +11:00 |
|
|
|
df954e1e1a
|
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
|
2021-03-03 20:33:51 +11:00 |
|