Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop redis on our prod graphql machine #1062

Merged
merged 1 commit into from Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions Resources/compose/docker-compose-prod-graphql.yml
@@ -1,5 +1,8 @@
version: '2.4'
services:
cache:
restart: "no"

db:
environment:
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
Expand Down