Skip to content

Commit

Permalink
Remove version field from all docker-compose.yaml (#1557)
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai authored Apr 2, 2024
1 parent fa67547 commit a10119f
Show file tree
Hide file tree
Showing 43 changed files with 11 additions and 65 deletions.
5 changes: 2 additions & 3 deletions custom-transforms-example/config/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
version: "3.3"
services:
redis-one:
image: library/redis:5.0.9
ports:
- "1111:6379"
volumes:
- ./redis.conf:/usr/local/etc/redis/redis.conf
command: ["redis-server", "/usr/local/etc/redis/redis.conf"]
- ./redis.conf:/usr/local/etc/redis/redis.conf
command: [ "redis-server", "/usr/local/etc/redis/redis.conf" ]
1 change: 0 additions & 1 deletion docs/src/examples/redis-clustering-unaware.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ This more accurately reflects a real production use but will take a bit more set
And reduce the docker-compose.yaml to just the shotover part

```yaml
version: '3.3'
services:
shotover-0:
networks:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
cassandra-one:
image: shotover/cassandra-test:5.0-beta1-r2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
cassandra-one:
image: shotover/cassandra-test:4.0.6-r1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
cassandra-one:
image: shotover/cassandra-test:4.0.6-r1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
cassandra-one:
image: shotover/cassandra-test:4.0.6-r1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
cassandra-one:
image: shotover/cassandra-test:4.0.6-r1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
cassandra-one:
image: shotover/cassandra-test:4.0.6-r1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
cassandra-one:
image: shotover/cassandra-test:4.0.6-r1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
cassandra-one:
image: shotover/cassandra-test:4.0.6-r1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
redis-one:
image: library/redis:5.0.9
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
cassandra-one:
image: shotover/cassandra-test:4.0.6-r1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
cassandra-one:
image: shotover/cassandra-test:4.0.6-r1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3"
services:
kafka0:
image: 'bitnami/kafka:3.6.1-debian-11-r24'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3"
networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3"
networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3"
networks:
cluster_subnet:
name: cluster_subnet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '2'

services:
kafka:
image: 'bitnami/kafka:3.6.1-debian-11-r24'
Expand All @@ -23,4 +21,3 @@ services:
- KAFKA_CFG_SASL_MECHANISM_INTER_BROKER_PROTOCOL=PLAIN
- KAFKA_INTER_BROKER_USER=controller_user
- KAFKA_INTER_BROKER_PASSWORD=controller_password

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3"
services:
kafka0:
image: 'bitnami/kafka:3.6.1-debian-11-r24'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3"
services:
kafka0:
image: 'bitnami/kafka:3.6.1-debian-11-r24'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
redis-one:
image: library/redis:5.0.9
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
opensearch-node1:
image: opensearchproject/opensearch:2.9.0
Expand All @@ -23,4 +22,3 @@ services:
ports:
- 9200:9200
- 9600:9600

Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
version: '3.3'
services:
redis-node-0:
image: &image bitnami/redis-cluster:6.2.12-debian-11-r26
ports:
- "2230:6379"
environment:
&environment
environment: &environment
- 'REDIS_PASSWORD=shotover'
- 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
version: '3.3'
services:
redis-node-0:
image: &image bitnami/redis-cluster:6.2.12-debian-11-r26
ports:
- "2220:6379"
environment:
&node-environment
environment: &node-environment
- 'REDIS_PASSWORD=shotover'
- 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5'

Expand Down Expand Up @@ -59,8 +57,7 @@ services:
image: *image
ports:
- "2120:6379"
environment:
&dr-environment
environment: &dr-environment
- 'REDIS_PASSWORD=shotover'
- 'REDIS_NODES=redis-node-0-dr redis-node-1-dr redis-node-2-dr redis-node-3-dr redis-node-4-dr redis-node-5-dr'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.3'
networks:
cluster_subnet:
name: cluster_subnet
Expand All @@ -14,8 +13,7 @@ services:
cluster_subnet:
ipv4_address: 172.16.1.2
image: &image bitnami/redis-cluster:6.2.12-debian-11-r26
environment:
&environment
environment: &environment
- 'ALLOW_EMPTY_PASSWORD=yes'
- 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.3'
networks:
cluster_subnet:
name: cluster_subnet
Expand All @@ -14,8 +13,7 @@ services:
cluster_subnet:
ipv4_address: 172.16.1.2
image: &image bitnami/redis-cluster:6.2.12-debian-11-r26
environment:
&environment
environment: &environment
- 'ALLOW_EMPTY_PASSWORD=yes'
- 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
version: '3.3'
services:
redis-node-0:
image: &image bitnami/redis-cluster:6.2.12-debian-11-r26
ports:
- "2220:6379"
environment:
&environment
environment: &environment
- 'ALLOW_EMPTY_PASSWORD=yes'
- 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.3'
networks:
cluster_subnet:
name: cluster_subnet
Expand All @@ -18,8 +17,7 @@ services:
volumes:
- &keys ../tls/certs:/usr/local/etc/redis/certs

environment:
&node_environment
environment: &node_environment
- 'ALLOW_EMPTY_PASSWORD=yes'
- 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5'
- 'REDIS_TLS_PORT=6379'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
redis-one:
image: &image library/redis:5.0.9
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
version: "3.3"
services:
redis-one:
image: library/redis:5.0.9
ports:
- "1111:6379"
volumes:
- ./redis.conf:/usr/local/etc/redis/redis.conf
command: ["redis-server", "/usr/local/etc/redis/redis.conf"]
- ./redis.conf:/usr/local/etc/redis/redis.conf
command: [ "redis-server", "/usr/local/etc/redis/redis.conf" ]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
redis-one:
image: bitnami/redis:6.2.13-debian-11-r73
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
redis-one:
image: bitnami/redis:6.2.13-debian-11-r73
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
redis-one:
image: bitnami/redis:6.2.13-debian-11-r73
Expand Down
1 change: 0 additions & 1 deletion shotover-proxy/tests/transforms/docker-compose-moto.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.3"
services:
moto:
image: "motoserver/moto"
Expand Down

0 comments on commit a10119f

Please sign in to comment.