Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate docker-compose.yml files and add proxy config #347

Merged
merged 3 commits into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 # modify this for your proxy
# - https_proxy=http:https://127.0.0.1:1080 # modify this for your proxy
image: img_gpt4free
ports:
- "8501:8501"
- 8501:8501
restart: always
12 changes: 0 additions & 12 deletions docker-compose.yml

This file was deleted.

Loading