From cef38d6aa16d0d6061ecef76b15bbc704c605ff4 Mon Sep 17 00:00:00 2001 From: Rob Holland Date: Mon, 17 Jun 2024 17:25:52 +0100 Subject: [PATCH] Remove cockroachdb compose files. (#208) We don't support or test against cockroachdb. --- README.md | 2 - docker-compose-cockroach-es.yml | 88 --------------------------------- docker-compose-cockroach.yml | 67 ------------------------- 3 files changed, 157 deletions(-) delete mode 100644 docker-compose-cockroach-es.yml delete mode 100644 docker-compose-cockroach.yml diff --git a/README.md b/README.md index 36efb6a1..a8615d4a 100644 --- a/README.md +++ b/README.md @@ -67,8 +67,6 @@ Here is a list of available files and the dependencies they use. | docker-compose-cass-es.yml | Cassandra and Elasticsearch | | docker-compose-mysql.yml | MySQL | | docker-compose-mysql-es.yml | MySQL and Elasticsearch | -| docker-compose-cockroach.yml | CockroachDB | -| docker-compose-cockroach-es.yml | CockroachDB and Elasticsearch | | docker-compose-postgres-opensearch.yml | PostgreSQL and OpenSearch | | docker-compose-multirole.yml | PostgreSQL and Elasticsearch with mult-role Server containers | diff --git a/docker-compose-cockroach-es.yml b/docker-compose-cockroach-es.yml deleted file mode 100644 index 7835cd66..00000000 --- a/docker-compose-cockroach-es.yml +++ /dev/null @@ -1,88 +0,0 @@ -version: "3.5" -services: - cockroach: - cap_drop: - - ALL - command: - - start-single-node - - --insecure - container_name: temporal-cockroach - hostname: cockroach - image: cockroachdb/cockroach - networks: - - temporal-network - restart: on-failure:5 - security_opt: - - no-new-privileges - tty: false - volumes: - - /var/lib/cockroach - elasticsearch: - container_name: temporal-elasticsearch - environment: - - cluster.routing.allocation.disk.threshold_enabled=true - - cluster.routing.allocation.disk.watermark.low=512mb - - cluster.routing.allocation.disk.watermark.high=256mb - - cluster.routing.allocation.disk.watermark.flood_stage=128mb - - discovery.type=single-node - - ES_JAVA_OPTS=-Xms256m -Xmx256m - - xpack.security.enabled=false - image: elasticsearch:${ELASTICSEARCH_VERSION} - networks: - - temporal-network - ports: - - 9200:9200 - volumes: - - /var/lib/elasticsearch/data - temporal: - container_name: temporal - depends_on: - - cockroach - - elasticsearch - environment: - - DB=postgres12 - - DB_PORT=26257 - - POSTGRES_USER=root - - POSTGRES_PWD= - - POSTGRES_SEEDS=postgres - - DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml - - ENABLE_ES=true - - ES_SEEDS=elasticsearch - - ES_VERSION=v7 - image: temporalio/auto-setup:${TEMPORAL_VERSION} - links: - - cockroach:postgres - networks: - - temporal-network - ports: - - 7233:7233 - volumes: - - ./dynamicconfig:/etc/temporal/config/dynamicconfig - temporal-admin-tools: - container_name: temporal-admin-tools - depends_on: - - temporal - environment: - - TEMPORAL_ADDRESS=temporal:7233 - - TEMPORAL_CLI_ADDRESS=temporal:7233 - image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION} - networks: - - temporal-network - stdin_open: true - tty: true - temporal-ui: - container_name: temporal-ui - depends_on: - - temporal - environment: - - TEMPORAL_ADDRESS=temporal:7233 - - TEMPORAL_CORS_ORIGINS=http://localhost:3000 - image: temporalio/ui:${TEMPORAL_UI_VERSION} - networks: - - temporal-network - ports: - - 8080:8080 -networks: - temporal-network: - driver: bridge - name: temporal-network diff --git a/docker-compose-cockroach.yml b/docker-compose-cockroach.yml deleted file mode 100644 index 91eb5dd5..00000000 --- a/docker-compose-cockroach.yml +++ /dev/null @@ -1,67 +0,0 @@ -version: "3.5" -services: - cockroach: - cap_drop: - - ALL - command: - - start-single-node - - --insecure - container_name: temporal-cockroach - hostname: cockroach - image: cockroachdb/cockroach - networks: - - temporal-network - restart: on-failure:5 - security_opt: - - no-new-privileges - tty: false - volumes: - - /var/lib/cockroach - temporal: - container_name: temporal - depends_on: - - cockroach - environment: - - DB=postgres12 - - DB_PORT=26257 - - POSTGRES_USER=root - - POSTGRES_PWD= - - POSTGRES_SEEDS=postgres - - DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml - image: temporalio/auto-setup:${TEMPORAL_VERSION} - links: - - cockroach:postgres - networks: - - temporal-network - ports: - - 7233:7233 - volumes: - - ./dynamicconfig:/etc/temporal/config/dynamicconfig - temporal-admin-tools: - container_name: temporal-admin-tools - depends_on: - - temporal - environment: - - TEMPORAL_ADDRESS=temporal:7233 - - TEMPORAL_CLI_ADDRESS=temporal:7233 - image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION} - networks: - - temporal-network - stdin_open: true - tty: true - temporal-ui: - container_name: temporal-ui - depends_on: - - temporal - environment: - - TEMPORAL_ADDRESS=temporal:7233 - - TEMPORAL_CORS_ORIGINS=http://localhost:3000 - image: temporalio/ui:${TEMPORAL_UI_VERSION} - networks: - - temporal-network - ports: - - 8080:8080 -networks: - temporal-network: - driver: bridge - name: temporal-network