Skip to content

Commit

Permalink
Remove duplicate docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangsx committed May 1, 2023
1 parent 2ae26bf commit 55f2a33
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 20 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,17 +127,13 @@ Run
```
docker run -p 8501:8501 gpt4free:latest
```
Another way - docker-compose (no docker build/run needed)
```
docker-compose up -d
```

## Deploy using docker-compose

Run the following:

```
docker-compose up -d
docker-compose up --build -d
```

## ChatGPT clone
Expand Down
12 changes: 9 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ version: "3.9"

services:
gpt4free:
build:
context: .
build:
context: ./
dockerfile: Dockerfile
container_name: dc_gpt4free
environment:
# - http_proxy=http:https://127.0.0.1:1080
# - https_proxy=http:https://127.0.0.1:1080
image: img_gpt4free
ports:
- "8501:8501"
- 8501:8501
restart: always
12 changes: 0 additions & 12 deletions docker-compose.yml

This file was deleted.

0 comments on commit 55f2a33

Please sign in to comment.