github.com/matrixorigin/matrixone@v1.2.0/etc/launch-tae-compose/README.md (about) 1 # Launch-tae-CN-tae-tn with docker-compose 2 3 - [docker compose version](https://docs.docker.com/compose/install/) >= v2.12.1 4 - support profiles: launch, launch-multi-cn 5 6 ## build and up 7 8 build new image 9 10 ```shell 11 docker-compose -f etc/launch-tae-compose/compose.yaml --profile launch-multi-cn up -d --build 12 ``` 13 14 use default image 15 16 ```shell 17 docker-compose -f etc/launch-tae-compose/compose.yaml --profile launch-multi-cn pull 18 docker-compose -f etc/launch-tae-compose/compose.yaml --profile launch-multi-cn up -d 19 ``` 20 21 ## Check log 22 23 ```shell 24 # cn-0 25 docker compose -f etc/launch-tae-compose/compose.yaml --profile launch-multi-cn logs cn-0 26 27 # cn-1 28 docker compose -f etc/launch-tae-compose/compose.yaml --profile launch-multi-cn logs cn-1 29 30 # tn 31 docker compose -f etc/launch-tae-compose/compose.yaml --profile launch-multi-cn logs tn 32 33 # logService 34 docker compose -f etc/launch-tae-compose/compose.yaml --profile launch-multi-cn logs logservice 35 ``` 36 37 ## minio as s3 service 38 39 [localhost:9001](http://localhost:9001) 40 41 username: minio 42 password: minio123 43 44 ## connect service 45 46 cn-0 47 ```shell 48 mysql -h 127.0.0.1 -P 6001 -udump -p111 49 ``` 50 51 cn-1: 52 ```shell 53 mysql -h 127.0.0.1 -P 7001 -udump -p111 54 ``` 55 56 ## down 57 58 ```shell 59 docker-compose -f etc/launch-tae-compose/compose.yaml --profile launch-multi-cn down --remove-orphans 60 ``` 61 62 ## clean dangling image 63 64 ```shell 65 docker image prune -f 66 ``` 67 68 ## remove minio storage 69 ```shell 70 docker volume rm launch-tae-compose_minio_storage 71 ```