Skip to content

Commit 75e08bc

Browse files
authored
Add supervisord configuration for nginx and nodejs
1 parent 91eddef commit 75e08bc

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

‎docker/supervisord.conf‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[supervisord]
2+
nodaemon=true
3+
4+
[program:nginx]
5+
command=/usr/sbin/nginx -g "daemon off;"
6+
autostart=true
7+
autorestart=true
8+
stdout_logfile=/dev/stdout
9+
stdout_logfile_maxbytes=0
10+
stderr_logfile=/dev/stderr
11+
stderr_logfile_maxbytes=0
12+
13+
[program:nodejs]
14+
command=/usr/bin/node /var/www/html/synflow/src/server.js
15+
directory=/var/www/html/synflow
16+
user=synflow
17+
autostart=true
18+
autorestart=true
19+
stdout_logfile=/dev/stdout
20+
stdout_logfile_maxbytes=0
21+
stderr_logfile=/dev/stderr
22+
stderr_logfile_maxbytes=0

0 commit comments

Comments
 (0)