1
0
mirror of https://git.cloudron.io/cloudron/syncthing-app synced 2025-09-02 05:05:13 +00:00

Add nginx for healthcheck route

This commit is contained in:
Girish Ramakrishnan
2018-02-26 16:28:45 -08:00
parent ee5dc6e5b8
commit 310b9443b0
6 changed files with 78 additions and 9 deletions

12
supervisor/nginx.conf Normal file
View File

@@ -0,0 +1,12 @@
[program:nginx]
priority=100
directory=/tmp
command=/usr/sbin/nginx -c /app/code/nginx.conf
user=root
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

14
supervisor/syncthing.conf Normal file
View File

@@ -0,0 +1,14 @@
[program:syncthing]
priority=20
environment=HOME=/app/data/folders,STNOUPGRADE=1
; -no-browser opens up the browser (for desktop app preumably)
; auditfile "-" means log to stdout
command=/app/code/syncthing -gui-address=127.0.0.1:3000 -home=/app/data/config -no-browser -auditfile=-
user=cloudron
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0