Better instructions for switching from docker compose
This commit is contained in:
parent
7b036cc620
commit
00c97ffe72
18
README.md
18
README.md
@ -114,14 +114,28 @@ Stop the system if running
|
|||||||
tilt down
|
tilt down
|
||||||
```
|
```
|
||||||
|
|
||||||
Then delete with
|
Delete it with
|
||||||
```
|
```
|
||||||
kubectl delete pvc data-postgresql-postgresql-0
|
kubectl delete pvc data-postgresql-postgresql-0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Start back up again
|
||||||
|
```
|
||||||
|
tilt up
|
||||||
|
```
|
||||||
|
|
||||||
|
And rerun migrations to create the tables again
|
||||||
|
```
|
||||||
|
kubectl exec deploy/mev-inspect-deployment -- alembic upgrade head
|
||||||
|
```
|
||||||
|
|
||||||
### I was using the docker-compose setup and want to switch to kube, now what?
|
### I was using the docker-compose setup and want to switch to kube, now what?
|
||||||
|
|
||||||
Make sure the docker-compose resources are down
|
Re-add the old `docker-compose.yml` file to your mev-inspect-py directory
|
||||||
|
|
||||||
|
A copy can be found [here](https://github.com/flashbots/mev-inspect-py/blob/ef60c097719629a7d2dc56c6e6c9a100fb706f76/docker-compose.yml)
|
||||||
|
|
||||||
|
Tear down docker-compose resources
|
||||||
```
|
```
|
||||||
docker compose down
|
docker compose down
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user