summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docker-compose.yml19
1 files changed, 8 insertions, 11 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 43aa6c02..8dfe1f35 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,18 +1,15 @@
version: '3'
services:
- gpt4free-api: &gpt4free
- image: gpt4free:latest
+ gpt4free:
+ image: ghcr.io/xtekky/gpt4free:latest
+ shm_size: 2gb
build:
context: .
- dockerfile: Dockerfile
- cache_from:
- - gpt4free:latest
- ports:
- - '1337:1337'
- command: api
- gpt4free-gui:
- <<: *gpt4free
+ dockerfile: docker/Dockerfile
+ volumes:
+ - .:/app
ports:
- '8080:80'
- command: gui
+ - '1337:1337'
+ - '7900:7900' \ No newline at end of file