mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 01:28:39 +08:00
apphub
This commit is contained in:
parent
3e463744df
commit
a67ebff0f4
@ -48,7 +48,6 @@ class ProxyManager:
|
|||||||
# Try to get token from keyring
|
# Try to get token from keyring
|
||||||
try:
|
try:
|
||||||
jwt_token = keyring.get_password(service_name, token_name)
|
jwt_token = keyring.get_password(service_name, token_name)
|
||||||
print(jwt_token)
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
jwt_token = None
|
jwt_token = None
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# This file can running at actions
|
# This file can running at actions
|
||||||
# MEDIA_VERSION and LIBRARY_VERSION will trigger its release
|
# 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
|
FROM python:3.10-slim-bullseye
|
||||||
|
@ -11,6 +11,10 @@ command=uvicorn src.main:app --host 0.0.0.0 --port 8080
|
|||||||
autostart=false
|
autostart=false
|
||||||
user=root
|
user=root
|
||||||
directory=/websoft9/apphub
|
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]
|
[program:apphubdev]
|
||||||
command=/websoft9/script/developer.sh
|
command=/websoft9/script/developer.sh
|
||||||
@ -35,7 +39,3 @@ command=uvicorn src.media:app --host 0.0.0.0 --port 8081
|
|||||||
autostart=true
|
autostart=true
|
||||||
user=root
|
user=root
|
||||||
directory=/websoft9/apphub
|
directory=/websoft9/apphub
|
||||||
stdout_logfile=/var/log/supervisord.log
|
|
||||||
stdout_logfile_maxbytes=0
|
|
||||||
stderr_logfile=/var/log/supervisord.log
|
|
||||||
stderr_logfile_maxbytes=0
|
|
Loading…
Reference in New Issue
Block a user