From ada1bf6f3fa4c474712af6b255266a5bb1700844 Mon Sep 17 00:00:00 2001 From: Naramsim Date: Mon, 1 Apr 2024 21:13:36 +0200 Subject: [PATCH] chore: stop redis --- Makefile | 4 ++-- Resources/compose/docker-compose-prod-graphql.yml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 33d903101..a6b6faec0 100755 --- a/Makefile +++ b/Makefile @@ -140,10 +140,10 @@ update-graphql-data-prod: git submodule update --init docker compose stop graphql-engine sync; echo 3 > /proc/sys/vm/drop_caches - docker compose -f docker-compose.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d app + docker compose -f docker-compose.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d app cache make docker-migrate make docker-build-db - docker compose stop app + docker compose stop app cache sync; echo 3 > /proc/sys/vm/drop_caches docker compose exec -T web sh -c 'rm -rf /tmp/cache/*' docker compose start graphql-engine diff --git a/Resources/compose/docker-compose-prod-graphql.yml b/Resources/compose/docker-compose-prod-graphql.yml index 9e8682285..d149ecbf3 100644 --- a/Resources/compose/docker-compose-prod-graphql.yml +++ b/Resources/compose/docker-compose-prod-graphql.yml @@ -1,5 +1,8 @@ version: '2.4' services: + cache: + restart: "no" + db: environment: POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"