From 484b96d850aca9b9144f3b8dd2fb502b25356c22 Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Thu, 7 Dec 2023 07:18:05 +0100 Subject: Add websearch to gui (#1314) * Add websearch to gui * Fix version_check config * Add version badge in README.md * Show version in gui * Add docker hub build * Fix gui backend, improve style --- docker/Dockerfile | 4 +++- docker/background.png | Bin 0 -> 155456 bytes docker/supervisor.conf | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 docker/background.png (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index 905efc4b..66f7fd3c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,6 +3,8 @@ FROM selenium/node-chrome ENV SE_SCREEN_WIDTH 1850 ENV G4F_LOGIN_URL http://localhost:7900/?autoconnect=1&resize=scale&password=secret ENV PYTHONUNBUFFERED 1 +ARG G4F_VERSION +ENV G4F_VERSION ${G4F_VERSION} USER root @@ -22,7 +24,7 @@ RUN rm -rf /var/lib/apt/lists/* /var/cache/apt/* \ COPY docker/supervisor.conf /etc/supervisor/conf.d/selenium.conf # Change background image -COPY g4f.png /usr/share/images/fluxbox/ubuntu-light.png +COPY docker/background.png /usr/share/images/fluxbox/ubuntu-light.png # Switch user USER 1200 diff --git a/docker/background.png b/docker/background.png new file mode 100644 index 00000000..41bf9e6b Binary files /dev/null and b/docker/background.png differ diff --git a/docker/supervisor.conf b/docker/supervisor.conf index 6d82f6c9..e76f9a6c 100755 --- a/docker/supervisor.conf +++ b/docker/supervisor.conf @@ -49,7 +49,7 @@ stderr_logfile_backups=5 stdout_capture_maxbytes=50MB stderr_capture_maxbytes=50MB -[program:g4f-cli] +[program:g4f-api] priority=15 command=python -m g4f.cli api directory=/app -- cgit v1.2.3