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:
12
supervisor/nginx.conf
Normal file
12
supervisor/nginx.conf
Normal 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
14
supervisor/syncthing.conf
Normal 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
|
||||
|
Reference in New Issue
Block a user