Skip to content

Commit

Permalink
migrate to docker compose v2
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyang01 committed Dec 2, 2024
1 parent 312696b commit 295057b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mysql-htap-maxscale-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Launch HTAP cluster
run: |
cd devtools/htap-setup-mysql/maxscale
docker-compose up -d
docker compose up -d
sleep 30 # Wait for services to be ready
- name: Verify HTAP setup
Expand Down Expand Up @@ -61,4 +61,4 @@ jobs:
if: always()
run: |
cd devtools/htap-setup-mysql/maxscale
docker-compose down
docker compose down
4 changes: 2 additions & 2 deletions .github/workflows/mysql-htap-proxysql-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Launch HTAP cluster
run: |
cd devtools/htap-setup-mysql/proxysql
docker-compose up -d
docker compose up -d
sleep 30 # Wait for services to be ready
- name: Verify HTAP setup
Expand Down Expand Up @@ -59,4 +59,4 @@ jobs:
if: always()
run: |
cd devtools/htap-setup-mysql/proxysql
docker-compose down
docker compose down
4 changes: 2 additions & 2 deletions .github/workflows/pg-htap-pgpool-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Launch HTAP cluster
run: |
cd devtools/htap-setup-pg/pgpool2
docker-compose up -d
docker compose up -d
sleep 30 # Wait for services to be ready
- name: Verify HTAP setup
Expand Down Expand Up @@ -61,4 +61,4 @@ jobs:
if: always()
run: |
cd devtools/htap-setup-pg/pgpool2
docker-compose down
docker compose down
4 changes: 2 additions & 2 deletions docs/tutorial/mysql-htap-maxscale-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Go the root path of this project and run the following commands:

```sh
cd devtools/htap-setup-mysql/maxscale
docker-compose up -d
docker compose up -d
```

Then you'll get a HTAP cluster. And an account 'lol' with password 'lol' has been created for connecting. Have fun!
Expand Down Expand Up @@ -56,4 +56,4 @@ after executing the `READ` statement:

# Cleanup

You can run `docker-compose down` to clean up all resources after the trial.
You can run `docker compose down` to clean up all resources after the trial.
6 changes: 3 additions & 3 deletions docs/tutorial/mysql-htap-proxysql-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ This is a tutorial to build an HTAP service based on MySQL, MyDuck Server, and P

Go the root path of this project and run the following commands:

```
```sh
cd devtools/htap-setup-mysql/proxysql
docker-compose up -d
docker compose up -d
```

Then you'll get a HTAP cluster. And an account 'lol' with password 'lol' has been created for connecting. Have fun!
Expand Down Expand Up @@ -46,4 +46,4 @@ SELECT * FROM stats.stats_mysql_commands_counters;

# Cleanup

You can run `docker-compose down` to clean up all resources after the trial.
You can run `docker compose down` to clean up all resources after the trial.
4 changes: 2 additions & 2 deletions docs/tutorial/pg-htap-pgpool-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Go the root path of this project and run the following commands:

```sh
cd devtools/htap-setup-pg/pgpool2
docker-compose up -d
docker compose up -d
```

Then you'll get a HTAP cluster. Have fun!
Expand Down Expand Up @@ -105,4 +105,4 @@ postgres=# show pool_nodes;

# Cleanup

You can run `docker-compose down` to clean up all resources after the trial.
You can run `docker compose down` to clean up all resources after the trial.

0 comments on commit 295057b

Please sign in to comment.