From 40397ade0a7f5066a76db5db652cdad998804942 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sat, 20 Aug 2022 18:17:34 +0900 Subject: [PATCH] update --- hasura-rest/.gitignore | 2 +- hasura-rest/{docker-compose.yml => compose.yml} | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) rename hasura-rest/{docker-compose.yml => compose.yml} (87%) diff --git a/hasura-rest/.gitignore b/hasura-rest/.gitignore index f10862a..4c49bd7 100644 --- a/hasura-rest/.gitignore +++ b/hasura-rest/.gitignore @@ -1 +1 @@ -/.env +.env diff --git a/hasura-rest/docker-compose.yml b/hasura-rest/compose.yml similarity index 87% rename from hasura-rest/docker-compose.yml rename to hasura-rest/compose.yml index c68d0a0..55a5d6a 100644 --- a/hasura-rest/docker-compose.yml +++ b/hasura-rest/compose.yml @@ -1,13 +1,12 @@ -version: "3" services: db: - image: postgres:13.4 + image: postgres:14-alpine environment: POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} volumes: - db_data:/var/lib/postgresql/data hasura: - image: hasura/graphql-engine:v2.0.9.cli-migrations-v3 + image: hasura/graphql-engine:v2.10.1.cli-migrations-v3 depends_on: [db] environment: HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@db:5432/postgres @@ -17,12 +16,12 @@ services: HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET} HASURA_GRAPHQL_JWT_SECRET: ${HASURA_GRAPHQL_JWT_SECRET} volumes: - - ./migrations:/hasura-migrations - ./metadata:/hasura-metadata + - ./migrations:/hasura-migrations ports: - "8080:8080" postgrest: - image: postgrest/postgrest:v8.0.0 + image: postgrest/postgrest:v10.0.0 depends_on: [db] environment: PGRST_DB_URI: postgres://postgres:${POSTGRES_PASSWORD}@db:5432/postgres