-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsupervisord.conf
45 lines (39 loc) · 924 Bytes
/
supervisord.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[unix_http_server]
file=/var/run/supervisord.sock
[supervisord]
nodaemon=true
user=root
username=alpine
password=alpine
pidfile=/var/run/supervisord.pid
logfile=/var/log/supervisord/supervisord.log
logfile_maxbytes=30MB
logfile_backups=3
loglevel=info
[supervisorctl]
serverurl=unix:///var/run/supervisord.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[unix_http_server]
username=alpine
password=alpine
[program:php-fpm]
command=php-fpm7 --nodaemonize
autostart=true
autorestart=true
priority=5
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:nginx]
command=nginx -g 'daemon off;'
autostart=true
autorestart=true
priority=10
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stdout_events_enabled=true
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stderr_events_enabled=true