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: services:
hasura: hasura:
container_name: $APP_NAME-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 restart: always
ports: ports:
- ${HASURA_PORT:-8080}:8080 - ${HASURA_PORT:-8080}:8080
@ -9,9 +9,9 @@ services:
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy
volumes: # volumes:
- ../../hasura/migrations:/hasura-migrations # - ../../hasura/migrations:/hasura-migrations
- ../../hasura/metadata:/hasura-metadata # - ../../hasura/metadata:/hasura-metadata
environment: environment:
- HASURA_GRAPHQL_DATABASE_URL=postgres://${POSTGRES_NON_ROOT_USER:-$ADMIN_USER}:${POSTGRES_NON_ROOT_PASSWORD:-$POSTGRES_PASSWORD}@postgres:5432/${HASURA_DB:-postgres} - 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 ## enable the console served by server