Remove duplicate docker-compose.yml
This commit is contained in:
parent
2ae26bfa7e
commit
55f2a33651
3 changed files with 10 additions and 20 deletions
|
@ -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
|
||||
|
|
|
@ -2,8 +2,14 @@ version: "3.9"
|
|||
|
||||
services:
|
||||
gpt4free:
|
||||
build:
|
||||
context: .
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: Dockerfile
|
||||
container_name: dc_gpt4free
|
||||
environment:
|
||||
# - http_proxy=http://127.0.0.1:1080
|
||||
# - https_proxy=http://127.0.0.1:1080
|
||||
image: img_gpt4free
|
||||
ports:
|
||||
- "8501:8501"
|
||||
- 8501:8501
|
||||
restart: always
|
|
@ -1,12 +0,0 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
gpt4:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: gpt4free:latest
|
||||
container_name: gpt4
|
||||
ports:
|
||||
- 8501:8501
|
||||
restart: unless-stopped
|
Loading…
Reference in a new issue