summaryrefslogtreecommitdiffstats
path: root/docker/supervisor-gui.conf
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-12-13 15:27:55 +0100
committerGitHub <noreply@github.com>2023-12-13 15:27:55 +0100
commit99127111f525d4ed1469c3547bcb491a8cdf5963 (patch)
tree10ed7693fe0116fa91ab9c77cbc0aa0951417f75 /docker/supervisor-gui.conf
parent~ (diff)
parentChange default port for gui (diff)
downloadgpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar
gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar.gz
gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar.bz2
gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar.lz
gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar.xz
gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar.zst
gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.zip
Diffstat (limited to 'docker/supervisor-gui.conf')
-rwxr-xr-xdocker/supervisor-gui.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/supervisor-gui.conf b/docker/supervisor-gui.conf
new file mode 100755
index 00000000..44273c67
--- /dev/null
+++ b/docker/supervisor-gui.conf
@@ -0,0 +1,12 @@
+[program:g4f-gui]
+priority=15
+command=python -m g4f.cli gui
+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