OSDN Git Service

dockerize vapord (#214)
[bytom/vapor.git] / docker / vapord / supervisord.conf
diff --git a/docker/vapord/supervisord.conf b/docker/vapord/supervisord.conf
new file mode 100644 (file)
index 0000000..b568d26
--- /dev/null
@@ -0,0 +1,8 @@
+[program:vapord]
+command=/usr/local/vapord/vapord node -r /usr/local/vapord --auth.disable            ; the program (relative uses PATH, can take args)
+autorestart=true
+
+stdout_logfile=/var/log/vapord/node.log        ; stdout log path, NONE for none; default AUTO
+stderr_logfile=/var/log/vapord/node_err.log
+stdout_logfile_backups = 15
+stdout_logfile_maxbytes=100MB   ; max # logfile bytes b4 rotation (default 50MB)