mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-21 19:03:08 +00:00
Merge pull request #1062 from PokeAPI/graphql-redis-stop
Stop redis on our prod graphql machine
This commit is contained in:
commit
2c60ad947f
2 changed files with 5 additions and 2 deletions
4
Makefile
4
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
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
version: '2.4'
|
||||
services:
|
||||
cache:
|
||||
restart: "no"
|
||||
|
||||
db:
|
||||
environment:
|
||||
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
||||
|
|
Loading…
Reference in a new issue