Skip to content

Commit

Permalink
Remove the version from Docker Compose files.
Browse files Browse the repository at this point in the history
Recent versions of Docker Compose no longer support this, instead just printing a warning.

PR-URL: hasura/graphql-engine-mono#10937
GitOrigin-RevId: 97a82968c48f5c09d6cbe74d8ea7386979e46e7a
  • Loading branch information
SamirTalwar authored and hasura-bot committed Jul 17, 2024
1 parent 455724d commit b2ac4d8
Show file tree
Hide file tree
Showing 31 changed files with 0 additions and 40 deletions.
2 changes: 0 additions & 2 deletions dc-agents/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.6"

services:
dc-reference-agent:
build:
Expand Down
2 changes: 0 additions & 2 deletions dc-agents/sdk/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Based on the template from https://raw.githubusercontent.com/hasura/graphql-engine/stable/install-manifests/docker-compose/docker-compose.yaml

version: "3.9"

services:
reference-agent:
image: "hasura/dc-reference-agent:${HASURA_VERSION}"
Expand Down
1 change: 0 additions & 1 deletion dc-agents/sqlite/test/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.9'
services:
sqlite_agent:
container_name: 'sqlite_agent'
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
# framework" in the "General" tab, and "Use Rosetta for x86/amd64 emulation on
# Apple Silicon" in the "Features in development" tab.

version: "3.6"

name: hge-manual-tests

services:
Expand Down
2 changes: 0 additions & 2 deletions docker-compose/databases.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.6"

services:
postgres:
image: postgis/postgis:16-3.4-alpine
Expand Down
1 change: 0 additions & 1 deletion frontend/docker/docker-compose.template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.6'
services:
engine-metadata-db:
image: postgres:15
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.6"
services:
postgres:
image: postgres:15
Expand Down
1 change: 0 additions & 1 deletion install-manifests/docker-compose-https/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.6"
services:
postgres:
image: postgres:15
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.6"
services:
postgres:
image: postgres:15
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.6"
services:
postgres:
image: postgres:15
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.6"
services:
postgres:
image: postgres:15
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.6'
services:
postgres:
image: mdillon/postgis:11
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.6"
services:
postgres:
image: postgres:15
Expand Down
1 change: 0 additions & 1 deletion install-manifests/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.6"
services:
postgres:
image: postgres:15
Expand Down
1 change: 0 additions & 1 deletion install-manifests/enterprise/athena/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.7'
services:
redis:
image: redis:7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.7"
services:
redis:
image: redis:7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.6"
services:
redis:
image: redis:latest
Expand Down
1 change: 0 additions & 1 deletion install-manifests/enterprise/mariadb/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.7"
services:
redis:
image: redis:7
Expand Down
1 change: 0 additions & 1 deletion install-manifests/enterprise/mongodb/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.7"
services:
redis:
image: redis:7
Expand Down
1 change: 0 additions & 1 deletion install-manifests/enterprise/mysql/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.7"
services:
redis:
image: redis:7
Expand Down
1 change: 0 additions & 1 deletion install-manifests/enterprise/oracle/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.7"
services:
redis:
image: redis:7
Expand Down
1 change: 0 additions & 1 deletion install-manifests/enterprise/redshift/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.7'
services:
redis:
image: redis:7
Expand Down
1 change: 0 additions & 1 deletion install-manifests/enterprise/snowflake/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.7"
services:
redis:
image: redis:7
Expand Down
1 change: 0 additions & 1 deletion packaging/cli-migrations/v2/test/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.6'
services:
postgres:
image: postgres:14
Expand Down
1 change: 0 additions & 1 deletion packaging/cli-migrations/v3/test/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.6'
services:
postgres:
image: postgres:14
Expand Down
1 change: 0 additions & 1 deletion rfcs/nosql-schema-sampling/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:

# External MongoDB sample database
Expand Down
2 changes: 0 additions & 2 deletions server/lib/api-tests/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.6"

name: hge-api-tests

services:
Expand Down
2 changes: 0 additions & 2 deletions server/lib/pg-client/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.6"

services:
postgres:
extends:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

name: hge-postgres-replicas

services:
Expand Down
2 changes: 0 additions & 2 deletions server/test-manual/postgres-replicas/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

name: hge-postgres-replicas

services:
Expand Down
2 changes: 0 additions & 2 deletions server/tests-py/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# These services are brought up in 'run.sh' (see that file)

version: "3.6"

name: hge-python-tests

services:
Expand Down

0 comments on commit b2ac4d8

Please sign in to comment.