mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-23 02:35:04 +00:00
29 lines
690 B
Text
29 lines
690 B
Text
|
[supervisord]
|
||
|
nodaemon=true
|
||
|
logfile=/dev/null
|
||
|
logfile_maxbytes=0
|
||
|
pidfile=/run/supervisord.pid
|
||
|
|
||
|
[program:cryptpad]
|
||
|
directory=/cryptpad
|
||
|
command=node server.js
|
||
|
user=cryptpad
|
||
|
group=cryptpad
|
||
|
environment=HOME="/cryptpad",USER="cryptpad",CRYPTPAD_HTTP_UNSAFE_ORIGIN=%(ENV_CRYPTPAD_HTTP_UNSAFE_ORIGIN)s,CRYPTPAD_HTTP_SAFE_ORIGIN=%(ENV_CRYPTPAD_HTTP_SAFE_ORIGIN)s
|
||
|
stdout_logfile=/dev/stdout
|
||
|
stdout_logfile_maxbytes=0
|
||
|
stderr_logfile=/dev/stderr
|
||
|
stderr_logfile_maxbytes=0
|
||
|
autorestart=false
|
||
|
startretries=0
|
||
|
|
||
|
;[program:nginx]
|
||
|
;command=nginx -g 'daemon off;'
|
||
|
;stdout_logfile=/dev/stdout
|
||
|
;stdout_logfile_maxbytes=0
|
||
|
;stderr_logfile=/dev/stderr
|
||
|
;stderr_logfile_maxbytes=0
|
||
|
;autorestart=false
|
||
|
;startretries=0
|
||
|
|