summaryrefslogtreecommitdiffstats
path: root/docker-compose-slim.yml
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-11-17 11:06:37 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-11-17 11:06:37 +0100
commitea1448001df9c66f05a52618eb3e40a88df5efe8 (patch)
tree3f113ea8beb7c43920871019512aeb8de9d1b4f7 /docker-compose-slim.yml
parentFix api streaming, fix AsyncClient (#2357) (diff)
downloadgpt4free-ea1448001df9c66f05a52618eb3e40a88df5efe8.tar
gpt4free-ea1448001df9c66f05a52618eb3e40a88df5efe8.tar.gz
gpt4free-ea1448001df9c66f05a52618eb3e40a88df5efe8.tar.bz2
gpt4free-ea1448001df9c66f05a52618eb3e40a88df5efe8.tar.lz
gpt4free-ea1448001df9c66f05a52618eb3e40a88df5efe8.tar.xz
gpt4free-ea1448001df9c66f05a52618eb3e40a88df5efe8.tar.zst
gpt4free-ea1448001df9c66f05a52618eb3e40a88df5efe8.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