diff --git a/docker-compose-pgcat.yml b/docker-compose-pgcat.yml index 8c796e3..e72a7bd 100644 --- a/docker-compose-pgcat.yml +++ b/docker-compose-pgcat.yml @@ -2,50 +2,6 @@ version: '3.9' services: - roach-0: - container_name: roach-0 - hostname: roach-0 - image: cockroachdb/cockroach:latest-v22.2 - command: start --insecure --join=roach-0,roach-1,roach-2 --listen-addr=roach-0:26257 --advertise-addr=roach-0:26257 --max-sql-memory=.25 --cache=.25 - environment: - - 'ALLOW_EMPTY_PASSWORD=yes' - - roach-1: - container_name: roach-1 - hostname: roach-1 - image: cockroachdb/cockroach:latest-v22.2 - command: start --insecure --join=roach-0,roach-1,roach-2 --listen-addr=roach-1:26257 --advertise-addr=roach-1:26257 --max-sql-memory=.25 --cache=.25 - environment: - - 'ALLOW_EMPTY_PASSWORD=yes' - - roach-2: - container_name: roach-2 - hostname: roach-2 - image: cockroachdb/cockroach:latest-v22.2 - command: start --insecure --join=roach-0,roach-1,roach-2 --listen-addr=roach-2:26257 --advertise-addr=roach-2:26257 --max-sql-memory=.25 --cache=.25 - environment: - - 'ALLOW_EMPTY_PASSWORD=yes' - - init: - container_name: init - image: cockroachdb/cockroach:latest-v22.2 - command: init --host=roach-0 --insecure - depends_on: - - roach-0 - - lb: - container_name: lb - hostname: lb - build: haproxy - ports: - - "26000:26000" - - "8080:8080" - - "8081:8081" - depends_on: - - roach-0 - - roach-1 - - roach-2 - pgcat: container_name: pgcat hostname: pgcat @@ -62,15 +18,6 @@ services: - lb restart: always - client: - container_name: client - image: cockroachdb/cockroach:latest-v22.2 - entrypoint: ["/usr/bin/tail", "-f", "/dev/null"] - hostname: client - depends_on: - - lb - - pgcat - postgresql: container_name: postgresql hostname: postgresql @@ -89,7 +36,7 @@ services: flyway: container_name: flyway hostname: flyway - image: flyway/flyway:9.15.2 + image: flyway/flyway entrypoint: ["flyway", "migrate"] volumes: - ./postgresql/flyway/sql:/flyway/sql