Skip to content

Commit 59d36f4

Browse files
committed
Update docker-compose commands to use 'docker compose' syntax
1 parent f9b4697 commit 59d36f4

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

eureka/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ Admin UI: http://localhost:8080/
2222

2323
## Stop Everything
2424
```bash
25-
docker-compose down -v
25+
docker compose down -v
2626
```

eureka/buildAndRunAll.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ cd apps/hello-world
1212
./build.sh
1313
cd ../..
1414

15-
docker-compose up -d
15+
docker compose up -d

nacos/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ http://localhost:8080/
2121

2222
## Stop Everything
2323
```bash
24-
docker-compose down -v
24+
docker compose down -v
2525
```
2626

2727
## Step-by-step Guide

nacos/buildAndRunAll.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ cd apps/health-simulator
1212
./build.sh
1313
cd ../..
1414

15-
docker-compose up -d
15+
docker compose up -d

nginx/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ chmod u+x buildAndRunAll.sh
2323

2424
## Stop Everything
2525
```bash
26-
docker-compose down -v
26+
docker compose down -v
2727
```

nginx/apps/hello-world/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ spring:
66
boot:
77
admin:
88
client:
9-
url: "http://spring-boot-admin-nginx:8082" # use docker-compose internal service name to access sba server
9+
url: "http://spring-boot-admin-nginx:8082" # use docker compose internal service name to access sba server
1010
instance:
1111
# if admin server should talk to hello through proxy, the following properties could be used,
1212
# see https://docs.spring-boot-admin.com/current/client.html#spring-boot-admin-client

nginx/buildAndRunAll.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ cd apps/hello-world
88
./build.sh
99
cd ../..
1010

11-
docker-compose up -d
11+
docker compose up -d

0 commit comments

Comments
 (0)