Initial YakPanel commit

This commit is contained in:
Niranjan
2026-04-07 02:04:22 +05:30
commit 2826d3e7f3
5359 changed files with 1390724 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
# project directory
chdir = '{path}'
# worker processes
workers = {processes}
# threads per worker
threads = {threads}
# user to run as
user = '{user}'
# worker type
worker_class = '{worker_class}'
# bind IP and port
bind = '0.0.0.0:{port}'
# PID file path (used for stopping and restarting; do not remove)
pidfile = '{path}/gunicorn.pid'
# access log and error log paths, file name do not change 'gunicorn_acess.log', 'gunicorn_error.log'
accesslog = '{logpath}/gunicorn_acess.log'
errorlog = '{logpath}/gunicorn_error.log'
# Log level (this log level applies to the error log; the access log level cannot be configured)
# debug: Debug level;
# info: Normal level;
# warning: Warning messages level;
# error: Error level;
# critical: Critical errors;
loglevel = '{loglevel}'
# Put custom settings here
# It is best to follow the same format as above: <comment + newline + key = value>.
# PS: Gunicorn configuration files are Python\-style (i.e., ".py" files); make sure to follow Python syntax.
# For example: if a config value (such as loglevel) is a string, it must be enclosed in quotes.

View File

@@ -0,0 +1,40 @@
[uwsgi]
# Project directory
chdir={path}
# Specify the project's application entry
wsgi-file={rfile}
# The application variable name used to start within the Python program
callable={app}
# Number of processes
processes={processes}
# Number of threads
threads={threads}
# PID file path at startup (used for stopping and restarting the service; do not remove)
pidfile={path}/uwsgi.pid
# Specify IP and port
# HTTP mode by default; can be switched to socket mode
{is_http}http=0.0.0.0:{port}
{is_socket}socket=0.0.0.0:{port}
# User and group to run uWSGI as
uid={user}
gid={user}
# Enable master process
master=true
# Set buffer size
buffer-size = 32768
# Run in background and output logs, do not change log file names 'uwsgi.log'
daemonize = {logpath}/uwsgi.log
# Write custom settings here\,
# If you do not want to use wsgi-file as the project's startup method, comment it out, but do not delete it; the same applies to the communication method (http, socket)\;
# It is best to follow the same format as above: <comment + newline + key = value> for readability and future reference