mirror of
https://github.com/nosial/FileServer.git
synced 2025-06-07 13:48:36 +00:00
Add configuration classes, enums, and database handling for FileServer
Some checks failed
Docker CI/CD / build-and-save (push) Has been cancelled
Docker CI/CD / build-and-push (push) Has been cancelled
CI / release (push) Has been cancelled
CI / debug (push) Has been cancelled
CI / release_executable (push) Has been cancelled
CI / debug_executable (push) Has been cancelled
CI / check-phpunit (push) Has been cancelled
CI / check-phpdoc (push) Has been cancelled
CI / generate-phpdoc (push) Has been cancelled
CI / test (push) Has been cancelled
CI / release-documentation (push) Has been cancelled
CI / release-artifacts (push) Has been cancelled
Some checks failed
Docker CI/CD / build-and-save (push) Has been cancelled
Docker CI/CD / build-and-push (push) Has been cancelled
CI / release (push) Has been cancelled
CI / debug (push) Has been cancelled
CI / release_executable (push) Has been cancelled
CI / debug_executable (push) Has been cancelled
CI / check-phpunit (push) Has been cancelled
CI / check-phpdoc (push) Has been cancelled
CI / generate-phpdoc (push) Has been cancelled
CI / test (push) Has been cancelled
CI / release-documentation (push) Has been cancelled
CI / release-artifacts (push) Has been cancelled
This commit is contained in:
parent
8db44e90d5
commit
72da412737
45 changed files with 3837 additions and 10 deletions
61
docker/supervisord.conf
Normal file
61
docker/supervisord.conf
Normal file
|
@ -0,0 +1,61 @@
|
|||
[supervisord]
|
||||
logfile=/var/logd.log
|
||||
logfile_maxbytes=50MB
|
||||
logfile_backups=10
|
||||
loglevel=info
|
||||
user=root
|
||||
pidfile=/var/run/supervisord.pid
|
||||
umask=022
|
||||
nodaemon=true
|
||||
minfds=1024
|
||||
minprocs=200
|
||||
|
||||
[program:logger]
|
||||
command=python3 /logger.py --port 5131
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=1
|
||||
stdout_events_enabled=true
|
||||
stderr_events_enabled=true
|
||||
stdout_logfile=/var/log/fileserver.log
|
||||
stderr_logfile=/var/log/fileserver_error.log
|
||||
stdout_logfile_maxbytes=20MB
|
||||
stdout_logfile_backups=5
|
||||
stderr_logfile_maxbytes=20MB
|
||||
stderr_logfile_backups=5
|
||||
|
||||
[program:php-fpm]
|
||||
command=/usr/local/sbin/php-fpm --nodaemonize
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=20
|
||||
stdout_logfile=/var/log/fpm.log
|
||||
stderr_logfile=/var/log/fpm_error.log
|
||||
stdout_logfile_maxbytes=0
|
||||
stdout_logfile_backups=5
|
||||
stderr_logfile_maxbytes=0
|
||||
stderr_logfile_backups=5
|
||||
|
||||
[program:nginx]
|
||||
command=/usr/sbin/nginx -g "daemon off;" -c /etc/nginx/nginx.conf
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=10
|
||||
stdout_logfile=/var/log/nginx.log
|
||||
stderr_logfile=/var/log/nginx_error.log
|
||||
stdout_logfile_maxbytes=20MB
|
||||
stdout_logfile_backups=5
|
||||
stderr_logfile_maxbytes=20MB
|
||||
stderr_logfile_backups=5
|
||||
|
||||
[program:cron]
|
||||
command=cron -f -L 15
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=30
|
||||
stdout_logfile=/var/log/cron.log
|
||||
stderr_logfile=/var/log/cron_error.log
|
||||
stdout_logfile_maxbytes=20MB
|
||||
stdout_logfile_backups=5
|
||||
stderr_logfile_maxbytes=20MB
|
||||
stderr_logfile_backups=5
|
Loading…
Add table
Add a link
Reference in a new issue