mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-24 00:20:24 +00:00
apphub
This commit is contained in:
parent
3e463744df
commit
a67ebff0f4
3 changed files with 6 additions and 7 deletions
|
@ -48,7 +48,6 @@ class ProxyManager:
|
|||
# Try to get token from keyring
|
||||
try:
|
||||
jwt_token = keyring.get_password(service_name, token_name)
|
||||
print(jwt_token)
|
||||
except Exception as e:
|
||||
jwt_token = None
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# This file can running at actions
|
||||
# MEDIA_VERSION and LIBRARY_VERSION will trigger its release
|
||||
# modify time: 202410090902, you can modify here to trigger Docker Build action
|
||||
# modify time: 202410141200, you can modify here to trigger Docker Build action
|
||||
|
||||
|
||||
FROM python:3.10-slim-bullseye
|
||||
|
|
|
@ -11,6 +11,10 @@ command=uvicorn src.main:app --host 0.0.0.0 --port 8080
|
|||
autostart=false
|
||||
user=root
|
||||
directory=/websoft9/apphub
|
||||
stdout_logfile=/var/log/supervisord.log
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/var/log/supervisord.log
|
||||
stderr_logfile_maxbytes=0
|
||||
|
||||
[program:apphubdev]
|
||||
command=/websoft9/script/developer.sh
|
||||
|
@ -34,8 +38,4 @@ stderr_logfile_maxbytes=0
|
|||
command=uvicorn src.media:app --host 0.0.0.0 --port 8081
|
||||
autostart=true
|
||||
user=root
|
||||
directory=/websoft9/apphub
|
||||
stdout_logfile=/var/log/supervisord.log
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/var/log/supervisord.log
|
||||
stderr_logfile_maxbytes=0
|
||||
directory=/websoft9/apphub
|
Loading…
Reference in a new issue