mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
Docker: Add explicit platform
s for databases.
Some databases don't provide `arm64` Docker images, leading to warnings when running `docker compose up` on macOS arm64. We can suppress these warnings by explicitly stating that we want the amd64 images, even on arm64 machines. (They run through virtualization.) PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7309 GitOrigin-RevId: 8e5edfd2508d5c5007162ad4056c7ec32793faef
This commit is contained in:
parent
8b4374202f
commit
9175ee3b33
@ -26,6 +26,7 @@ services:
|
||||
|
||||
postgres:
|
||||
image: postgis/postgis:15-3.3-alpine
|
||||
platform: linux/amd64
|
||||
command:
|
||||
- -F # turn fsync off for speed
|
||||
- -N 1000 # increase max connections from 100 so we can run more HGEs
|
||||
@ -46,6 +47,7 @@ services:
|
||||
|
||||
citus:
|
||||
image: citusdata/citus:11
|
||||
platform: linux/amd64
|
||||
command:
|
||||
- -F # turn fsync off for speed
|
||||
- -N 1000 # increase max connections from 100 so we can run more HGEs
|
||||
@ -67,6 +69,7 @@ services:
|
||||
|
||||
cockroach:
|
||||
image: cockroachdb/cockroach-unstable:v22.2.0-beta.4
|
||||
platform: linux/amd64
|
||||
command:
|
||||
- start-single-node
|
||||
- --insecure
|
||||
@ -124,6 +127,7 @@ services:
|
||||
# We can reconsider this once the MSSQL Server image can run on arm64.
|
||||
sqlserver-healthcheck:
|
||||
image: mcr.microsoft.com/mssql-tools
|
||||
platform: linux/amd64
|
||||
command:
|
||||
- sleep
|
||||
- inf
|
||||
|
Loading…
Reference in New Issue
Block a user