summaryrefslogtreecommitdiffstats
path: root/docker/supervisor-api.conf
diff options
context:
space:
mode:
Diffstat (limited to 'docker/supervisor-api.conf')
-rwxr-xr-xdocker/supervisor-api.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/supervisor-api.conf b/docker/supervisor-api.conf
new file mode 100755
index 00000000..74572634
--- /dev/null
+++ b/docker/supervisor-api.conf
@@ -0,0 +1,12 @@
+[program:g4f-api]
+priority=15
+command=python -m g4f.cli api
+directory=/app
+stopasgroup=true
+autostart=true
+autorestart=true
+
+;Logs (all Hub activity redirected to stdout so it can be seen through "docker logs"
+redirect_stderr=true
+stdout_logfile=/dev/stdout
+stdout_logfile_maxbytes=0 \ No newline at end of file