github.com/matrixorigin/matrixone@v0.7.0/etc/launch-tae-compose/compose.yaml (about) 1 version: '3.9' 2 3 services: 4 cn-0: 5 container_name: cn-0 6 build: 7 context: ../../ 8 dockerfile: ./optools/images/Dockerfile 9 args: 10 GOPROXY: "https://proxy.golang.org,direct" 11 image: matrixorigin/matrixone:nightly-a464424e 12 entrypoint: ["/mo-service", "-cfg", "/config/cn-0.toml"] 13 profiles: 14 - launch-tae-CN-tae-DN 15 - launch-tae-multi-CN-tae-DN 16 depends_on: 17 - dn 18 ports: 19 - "6001:6001" 20 - "6002" 21 restart: on-failure 22 volumes: 23 - ../../etc/launch-tae-compose/config:/config 24 - ../../test:/test 25 environment: 26 - AWS_ACCESS_KEY_ID=minio 27 - AWS_SECRET_ACCESS_KEY=minio123 28 # - AWS_REGION=${AWS_REGION} 29 tty: true 30 networks: 31 monet: 32 33 cn-1: 34 container_name: cn-1 35 build: 36 context: ../../ 37 dockerfile: ./optools/images/Dockerfile 38 args: 39 GOPROXY: "https://proxy.golang.org,direct" 40 image: matrixorigin/matrixone:nightly-a464424e 41 entrypoint: ["/mo-service", "-cfg", "/config/cn-1.toml"] 42 depends_on: 43 - dn 44 ports: 45 - "7001:6001" 46 - "6002" 47 restart: on-failure 48 profiles: 49 - launch-tae-multi-CN-tae-DN 50 volumes: 51 - ../../etc/launch-tae-compose/config:/config 52 - ../../test:/test 53 environment: 54 - AWS_ACCESS_KEY_ID=minio 55 - AWS_SECRET_ACCESS_KEY=minio123 56 # - AWS_REGION=${AWS_REGION} 57 tty: true 58 networks: 59 monet: 60 61 dn: 62 container_name: dn 63 build: 64 context: ../../ 65 dockerfile: ./optools/images/Dockerfile 66 args: 67 GOPROXY: "https://proxy.golang.org,direct" 68 image: matrixorigin/matrixone:nightly-a464424e 69 entrypoint: ["/mo-service", "-cfg", "/config/dn.toml"] 70 profiles: 71 - launch-tae-CN-tae-DN 72 - launch-tae-multi-CN-tae-DN 73 depends_on: 74 - logservice 75 ports: 76 - "41010" 77 restart: on-failure 78 tty: true 79 volumes: 80 - ../../etc/launch-tae-compose/config:/config 81 - ../../test:/test 82 environment: 83 - AWS_ACCESS_KEY_ID=minio 84 - AWS_SECRET_ACCESS_KEY=minio123 85 # - AWS_REGION=${AWS_REGION} 86 networks: 87 monet: 88 89 logservice: 90 container_name: logservice 91 build: 92 context: ../../ 93 dockerfile: ./optools/images/Dockerfile 94 args: 95 GOPROXY: "https://proxy.golang.org,direct" 96 image: matrixorigin/matrixone:nightly-a464424e 97 profiles: 98 - launch-tae-CN-tae-DN 99 - launch-tae-multi-CN-tae-DN 100 entrypoint: ["/mo-service", "-cfg", "/config/log.toml"] 101 depends_on: 102 - createbuckets 103 ports: 104 - "32000" 105 - "32001" 106 - "32002" 107 environment: 108 - AWS_ACCESS_KEY_ID=minio 109 - AWS_SECRET_ACCESS_KEY=minio123 110 # - AWS_REGION=${AWS_REGION} 111 restart: on-failure 112 volumes: 113 - ../../etc/launch-tae-compose/config:/config 114 - ../../test:/test 115 tty: true 116 networks: 117 monet: 118 119 minio: 120 image: minio/minio 121 ports: 122 - "9000:9000" 123 - "9001:9001" 124 volumes: 125 - minio_storage:/data 126 environment: 127 MINIO_ROOT_USER: minio 128 MINIO_ROOT_PASSWORD: minio123 129 command: server --console-address ":9001" /data 130 profiles: 131 - launch-tae-CN-tae-DN 132 - launch-tae-multi-CN-tae-DN 133 healthcheck: 134 test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] 135 interval: 1s 136 timeout: 5s 137 retries: 3 138 networks: 139 monet: 140 141 createbuckets: 142 image: minio/mc 143 depends_on: 144 minio: 145 condition: service_healthy 146 profiles: 147 - launch-tae-CN-tae-DN 148 - launch-tae-multi-CN-tae-DN 149 entrypoint: > 150 /bin/sh -c " 151 /usr/bin/mc alias set myminio http://minio:9000 minio minio123; 152 /usr/bin/mc mb myminio/mo-test; 153 /usr/bin/mc policy set public myminio/mo-test; 154 exit 0; 155 " 156 networks: 157 monet: 158 159 volumes: 160 minio_storage: {} 161 162 networks: 163 monet: 164 driver: bridge 165 ipam: 166 config: 167 - subnet: 179.19.0.0/16