summaryrefslogtreecommitdiffstats
path: root/docker/supervisor-api.conf
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-11-17 18:32:51 +0100
committerGitHub <noreply@github.com>2024-11-17 18:32:51 +0100
commit275574d71ece22975de7df0e226d466a2056605b (patch)
tree3f113ea8beb7c43920871019512aeb8de9d1b4f7 /docker/supervisor-api.conf
parentFix api streaming, fix AsyncClient (#2357) (diff)
parentAdd nodriver to Gemini provider, (diff)
downloadgpt4free-275574d71ece22975de7df0e226d466a2056605b.tar
gpt4free-275574d71ece22975de7df0e226d466a2056605b.tar.gz
gpt4free-275574d71ece22975de7df0e226d466a2056605b.tar.bz2
gpt4free-275574d71ece22975de7df0e226d466a2056605b.tar.lz
gpt4free-275574d71ece22975de7df0e226d466a2056605b.tar.xz
gpt4free-275574d71ece22975de7df0e226d466a2056605b.tar.zst
gpt4free-275574d71ece22975de7df0e226d466a2056605b.zip
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