apphub
Some checks are pending
Build image to DockerHub / setup (push) Waiting to run
Build image to DockerHub / build (push) Blocked by required conditions

This commit is contained in:
qiaofeng1227 2024-10-14 12:00:26 +08:00
parent 3e463744df
commit a67ebff0f4
3 changed files with 6 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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