graphql-engine/server/tests-py/docker-compose.yml
Samir Talwar 2467e23ef6 docker: Always use the official SQL Server image for testing.
Now that Docker for macOS supports using Rosetta for x86/amd64 emulation, we no longer need to use the `azure-sql-edge` image. We can always use the official `mcr.microsoft.com/mssql/server` one.

This also means that we no longer need the separate healthcheck container, because the official image ships with `sqlcmd`.

When this is merged, you will need to ensure you have enabled Rosetta emulation in the Docker settings to test against SQL Server on macOS. This requires macOS 13 (Ventura).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10139
GitOrigin-RevId: 2225bf5f4c6d3632da1f29b2229c9b04ead5e34c
2023-09-25 13:27:23 +00:00

30 lines
618 B
YAML

# These services are brought up in 'run.sh' (see that file)
version: "3.6"
name: hge-python-tests
services:
postgres:
extends:
file: ../../docker-compose/databases.yaml
service: postgres
environment:
POSTGRES_PASSWORD: "hasura"
volumes:
- ./docker/postgres-init.sh:/docker-entrypoint-initdb.d/init.sh:ro
deploy:
replicas: 2
citus:
extends:
file: ../../docker-compose/databases.yaml
service: citus
environment:
POSTGRES_PASSWORD: "hasura"
sqlserver:
extends:
file: ../../docker-compose/databases.yaml
service: sqlserver