summaryrefslogtreecommitdiffstats
path: root/docker-compose-slim.yml
diff options
context:
space:
mode:
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