chore: stop redis

This commit is contained in:
Naramsim 2024-04-01 21:13:36 +02:00
parent 14f4b8617e
commit ada1bf6f3f
2 changed files with 5 additions and 2 deletions

View file

@ -140,10 +140,10 @@ update-graphql-data-prod:
git submodule update --init git submodule update --init
docker compose stop graphql-engine docker compose stop graphql-engine
sync; echo 3 > /proc/sys/vm/drop_caches 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-migrate
make docker-build-db make docker-build-db
docker compose stop app docker compose stop app cache
sync; echo 3 > /proc/sys/vm/drop_caches sync; echo 3 > /proc/sys/vm/drop_caches
docker compose exec -T web sh -c 'rm -rf /tmp/cache/*' docker compose exec -T web sh -c 'rm -rf /tmp/cache/*'
docker compose start graphql-engine docker compose start graphql-engine

View file

@ -1,5 +1,8 @@
version: '2.4' version: '2.4'
services: services:
cache:
restart: "no"
db: db:
environment: environment:
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}" POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"