2022-05-19 18:57:04 +01:00
|
|
|
# Support services used by tests
|
|
|
|
|
|
|
|
version: "3.4"
|
|
|
|
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
hostname: postgres
|
2022-11-30 23:20:55 +00:00
|
|
|
command: -c fsync=off
|
2022-05-19 18:57:04 +01:00
|
|
|
image: postgres
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
ports:
|
2022-05-26 10:27:52 +01:00
|
|
|
- "5532:5432"
|
2022-05-19 18:57:04 +01:00
|
|
|
crdb1:
|
|
|
|
hostname: crdb1
|
2022-05-26 10:27:52 +01:00
|
|
|
command: [ "start-single-node", "--insecure", "--store=type=mem,size=2GiB", "--http-addr=localhost:8086", "--cache=512MiB", "--max-sql-memory=512MiB" ]
|
2022-05-19 18:57:04 +01:00
|
|
|
image: cockroachdb/cockroach
|
|
|
|
ports:
|
2022-05-26 10:27:52 +01:00
|
|
|
- "26356:26257"
|
2022-05-19 18:57:04 +01:00
|
|
|
crdb2:
|
|
|
|
hostname: crdb2
|
2022-05-26 10:27:52 +01:00
|
|
|
command: [ "start-single-node", "--insecure", "--store=type=mem,size=2GiB", "--http-addr=localhost:8086", "--cache=512MiB", "--max-sql-memory=512MiB" ]
|
2022-05-19 18:57:04 +01:00
|
|
|
image: cockroachdb/cockroach
|
|
|
|
ports:
|
2022-05-26 10:27:52 +01:00
|
|
|
- "26357:26257"
|
2022-05-19 18:57:04 +01:00
|
|
|
crdb3:
|
|
|
|
hostname: crdb3
|
2022-05-26 10:27:52 +01:00
|
|
|
command: [ "start-single-node", "--insecure", "--store=type=mem,size=2GiB", "--http-addr=localhost:8086", "--cache=512MiB", "--max-sql-memory=512MiB" ]
|
2022-05-19 18:57:04 +01:00
|
|
|
image: cockroachdb/cockroach
|
|
|
|
ports:
|
2022-05-26 10:27:52 +01:00
|
|
|
- "26358:26257"
|
2022-05-19 18:57:04 +01:00
|
|
|
crdb4:
|
|
|
|
hostname: crdb4
|
2022-05-26 10:27:52 +01:00
|
|
|
command: [ "start-single-node", "--insecure", "--store=type=mem,size=2GiB", "--http-addr=localhost:8086", "--cache=512MiB", "--max-sql-memory=512MiB" ]
|
2022-05-19 18:57:04 +01:00
|
|
|
image: cockroachdb/cockroach
|
|
|
|
ports:
|
2022-05-26 10:27:52 +01:00
|
|
|
- "26359:26257"
|
2022-05-19 18:57:04 +01:00
|
|
|
crdb5:
|
|
|
|
hostname: crdb5
|
2022-05-26 10:27:52 +01:00
|
|
|
command: [ "start-single-node", "--insecure", "--store=type=mem,size=2GiB", "--http-addr=localhost:8086", "--cache=512MiB", "--max-sql-memory=512MiB" ]
|
2022-05-19 18:57:04 +01:00
|
|
|
image: cockroachdb/cockroach
|
|
|
|
ports:
|
2022-05-26 10:27:52 +01:00
|
|
|
- "26360:26257"
|