first commit
Some checks failed
Build And Push / publish (push) Failing after 3m15s

This commit is contained in:
2025-09-24 04:11:55 +03:00
commit 967bb8d936
45 changed files with 2651 additions and 0 deletions

22
src/server.py Normal file
View File

@ -0,0 +1,22 @@
from uvicorn import Config, Server
from core.config import settings
from core.log import config as log_config
def main():
config = Config(
'core.main:app',
host='0.0.0.0',
port=settings.APP_PORT,
log_config=log_config,
log_level='info',
reload=settings.DEBUG,
access_log=False,
)
server = Server(config)
server.run()
if __name__ == '__main__':
main()