fix: disable auto migrations

This commit is contained in:
ManUtopiK 2022-10-29 20:46:08 +02:00
parent b6b64cf0c8
commit 963b3842aa
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
services:
hasura:
container_name: $APP_NAME-hasura
image: hasura/graphql-engine:v2.13.0.cli-migrations-v3
image: hasura/graphql-engine:v2.13.0 #.cli-migrations-v3
restart: always
ports:
- ${HASURA_PORT:-8080}:8080
@ -9,9 +9,9 @@ services:
depends_on:
postgres:
condition: service_healthy
volumes:
- ../../hasura/migrations:/hasura-migrations
- ../../hasura/metadata:/hasura-metadata
# volumes:
# - ../../hasura/migrations:/hasura-migrations
# - ../../hasura/metadata:/hasura-metadata
environment:
- HASURA_GRAPHQL_DATABASE_URL=postgres://${POSTGRES_NON_ROOT_USER:-$ADMIN_USER}:${POSTGRES_NON_ROOT_PASSWORD:-$POSTGRES_PASSWORD}@postgres:5432/${HASURA_DB:-postgres}
## enable the console served by server