mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-22 03:13:06 +00:00
chore: add target
skip ci
This commit is contained in:
parent
985096d697
commit
12be924a25
1 changed files with 12 additions and 0 deletions
12
Makefile
12
Makefile
|
@ -118,3 +118,15 @@ k8s-build-db: # (k8s) Build the database
|
||||||
|
|
||||||
k8s-delete: # (k8s) Delete pokeapi namespace
|
k8s-delete: # (k8s) Delete pokeapi namespace
|
||||||
kubectl delete namespace pokeapi
|
kubectl delete namespace pokeapi
|
||||||
|
|
||||||
|
update-graphql-prod:
|
||||||
|
git pull origin master
|
||||||
|
docker stop pokeapi_graphql-engine_1
|
||||||
|
sync; echo 3 > /proc/sys/vm/drop_caches
|
||||||
|
docker-compose -f docker-compose.yml -f docker-compose.override.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d app
|
||||||
|
make docker-migrate
|
||||||
|
make docker-build-db
|
||||||
|
docker stop pokeapi_app_1
|
||||||
|
sync; echo 3 > /proc/sys/vm/drop_caches
|
||||||
|
docker exec pokeapi_web_1 sh -c 'rm -rf /tmp/cache/*'
|
||||||
|
docker start pokeapi_graphql-engine_1
|
||||||
|
|
Loading…
Reference in a new issue