mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 02:35:32 +03:00
direnv: Default to the Azure SQL Edge image on macOS.
Sometimes you just want to run `docker compose up` without faffing about with `make`. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6499 GitOrigin-RevId: 1a88dae933e314ea8204c6c22a831b38808776c1
This commit is contained in:
parent
63e576cce3
commit
0fa76e8abb
6
.envrc
6
.envrc
@ -3,6 +3,12 @@
|
||||
# This file provides some tooling on an opt-in basis via `direnv`
|
||||
# (https://direnv.net/)
|
||||
|
||||
# We cannot use the proper MSSQL Server image on arm64, as it's not available.
|
||||
# Instead, we use `mcr.microsoft.com/azure-sql-edge`.
|
||||
if [[ "$(uname -m)" == 'arm64' ]]; then
|
||||
export MSSQL_IMAGE='mcr.microsoft.com/azure-sql-edge'
|
||||
fi
|
||||
|
||||
# To use the functionality here, create an `.envrc.local` file in this folder
|
||||
# that runs the functions you need.
|
||||
# There is an example in `.envrc.local.example` you can start with
|
||||
|
Loading…
Reference in New Issue
Block a user