summaryrefslogtreecommitdiffstats
path: root/docker-compose-slim.yml
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-compose-slim.yml
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-compose-slim.yml')
-rw-r--r--docker-compose-slim.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/docker-compose-slim.yml b/docker-compose-slim.yml
new file mode 100644
index 00000000..ec0ee0fc
--- /dev/null
+++ b/docker-compose-slim.yml
@@ -0,0 +1,25 @@
+version: '3'
+
+services:
+ g4f-gui:
+ container_name: g4f-gui
+ image: hlohaus789/g4f:slim
+ build:
+ context: .
+ dockerfile: docker/Dockerfile-slim
+ command: python -m g4f.cli gui -debug
+ volumes:
+ - .:/app
+ ports:
+ - '8080:8080'
+ g4f-api:
+ container_name: g4f-api
+ image: hlohaus789/g4f:slim
+ build:
+ context: .
+ dockerfile: docker/Dockerfile-slim
+ command: python -m g4f.cli api
+ volumes:
+ - .:/app
+ ports:
+ - '1337:1337' \ No newline at end of file