From 3576dee75a1623aa2385b6afe8b922ad5affca26 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Wed, 6 Dec 2023 09:35:36 +0100 Subject: Add selenium to dockerfile Load model and provider list in gui Remove needs_auth in HuggingChat Add default model and login url in gui --- docker-compose.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index 43aa6c02..89b11f06 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,18 +1,17 @@ version: '3' services: - gpt4free-api: &gpt4free + gpt4free: image: gpt4free:latest + shm_size: 2gb build: context: . - dockerfile: Dockerfile + dockerfile: docker/Dockerfile cache_from: - gpt4free:latest - ports: - - '1337:1337' - command: api - gpt4free-gui: - <<: *gpt4free + volumes: + - .:/app ports: - '8080:80' - command: gui + - '1337:1337' + - '7900:7900' \ No newline at end of file -- cgit v1.2.3 From c667f1cec521534781de51e316d5edeed89bdb89 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Wed, 6 Dec 2023 11:54:50 +0100 Subject: Improve docker image --- docker-compose.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index 89b11f06..8dfe1f35 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,13 +2,11 @@ version: '3' services: gpt4free: - image: gpt4free:latest + image: ghcr.io/xtekky/gpt4free:latest shm_size: 2gb build: context: . dockerfile: docker/Dockerfile - cache_from: - - gpt4free:latest volumes: - .:/app ports: -- cgit v1.2.3