Merge pull request #1254 from sdaqo/patch-1

rename docker compose to docker-compose
This commit is contained in:
Tekky 2023-11-15 21:29:33 +00:00 committed by GitHub
commit d2cb832bbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,13 +138,13 @@ cd gpt4free
4. Build the Docker image:
```bash
docker compose build
docker-compose build
```
5. Start the service using Docker Compose:
```bash
docker compose up
docker-compose up
```
Your server will now be running at `http://localhost:1337`. You can interact with the API or run your tests as you would normally.
@ -152,11 +152,11 @@ Your server will now be running at `http://localhost:1337`. You can interact wit
To stop the Docker containers, simply run:
```bash
docker compose down
docker-compose down
```
> [!Note]
> When using Docker, any changes you make to your local files will be reflected in the Docker container thanks to the volume mapping in the `docker-compose.yml` file. If you add or remove dependencies, however, you'll need to rebuild the Docker image using `docker compose build`.
> When using Docker, any changes you make to your local files will be reflected in the Docker container thanks to the volume mapping in the `docker-compose.yml` file. If you add or remove dependencies, however, you'll need to rebuild the Docker image using `docker-compose build`.
## 💡 Usage