fix: replace docker-compose with docker compose

This commit is contained in:
lewis liu 2025-01-15 10:30:45 +08:00 committed by 刘一奇
parent 85d864f607
commit 9958496468
4 changed files with 7 additions and 7 deletions

View File

@ -144,7 +144,7 @@ docker build . --target bolt-ai-development
**Option 3: Docker Compose Profile** **Option 3: Docker Compose Profile**
```bash ```bash
docker-compose --profile development up docker compose --profile development up
``` ```
#### Running the Development Container #### Running the Development Container
@ -171,7 +171,7 @@ docker build . --target bolt-ai-production
**Option 3: Docker Compose Profile** **Option 3: Docker Compose Profile**
```bash ```bash
docker-compose --profile production up docker compose --profile production up
``` ```
#### Running the Production Container #### Running the Production Container

View File

@ -182,7 +182,7 @@ This option requires some familiarity with Docker but provides a more isolated e
2. **Run the Container**: 2. **Run the Container**:
```bash ```bash
docker-compose --profile development up docker compose --profile development up
``` ```

View File

@ -144,7 +144,7 @@ docker build . --target bolt-ai-development
**Option 3: Docker Compose Profile** **Option 3: Docker Compose Profile**
```bash ```bash
docker-compose --profile development up docker compose --profile development up
``` ```
#### Running the Development Container #### Running the Development Container
@ -171,7 +171,7 @@ docker build . --target bolt-ai-production
**Option 3: Docker Compose Profile** **Option 3: Docker Compose Profile**
```bash ```bash
docker-compose --profile production up docker compose --profile production up
``` ```
#### Running the Production Container #### Running the Production Container

View File

@ -156,7 +156,7 @@ Once you've configured your keys, the application will be ready to use the selec
2. **Run the Container**: 2. **Run the Container**:
Use Docker Compose profiles to manage environments: Use Docker Compose profiles to manage environments:
```bash ```bash
docker-compose --profile development up docker compose --profile development up
``` ```
- With the development profile, changes to your code will automatically reflect in the running container (hot reloading). - With the development profile, changes to your code will automatically reflect in the running container (hot reloading).
@ -188,7 +188,7 @@ To keep your local version of bolt.diy up to date with the latest changes, follo
- **If using Docker**, ensure you rebuild the Docker image to avoid using a cached version: - **If using Docker**, ensure you rebuild the Docker image to avoid using a cached version:
```bash ```bash
docker-compose --profile development up --build docker compose --profile development up --build
``` ```
- **If not using Docker**, you can start the application as usual with: - **If not using Docker**, you can start the application as usual with: