mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-12-02 05:57:21 +01:00
Feature/add cleanup script (#334)
* Create cleanup.sh Add a clean up script * make cleanup.sh executable * improve doc * fix typos
This commit is contained in:
parent
a6e1c95c17
commit
c7fee7866b
@ -48,12 +48,16 @@ This will run the current default versions of [Aquarius](https://github.com/ocea
|
|||||||
|
|
||||||
<img width="486" alt="Welcome to Ocean Protocol" src="Welcome_to_Ocean_Protocol.png">
|
<img width="486" alt="Welcome to Ocean Protocol" src="Welcome_to_Ocean_Protocol.png">
|
||||||
|
|
||||||
> It's overkill, but to be _sure_ that you use exactly the Docker images and volumes you want, you can prune all the Docker things in your system first:
|
|
||||||
|
|
||||||
|
## Cleanup
|
||||||
|
|
||||||
|
To clean up your environment, you can run
|
||||||
> ```bash
|
> ```bash
|
||||||
> docker system prune --all --volumes
|
> ./cleanup.sh
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
|
This will stop & remove any ocean related containers, then delete any volumes and networks created by barge
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
The startup script comes with a set of options for customizing various things.
|
The startup script comes with a set of options for customizing various things.
|
||||||
|
40
cleanup.sh
Executable file
40
cleanup.sh
Executable file
@ -0,0 +1,40 @@
|
|||||||
|
#/bin/bash
|
||||||
|
docker container stop ocean_aquarius_1
|
||||||
|
docker container stop ocean_graph-node_1
|
||||||
|
docker container stop ocean_subgraph_1
|
||||||
|
docker container stop ocean_ipfs_1
|
||||||
|
docker container stop ocean_postgres_1
|
||||||
|
docker container stop ocean_provider_1
|
||||||
|
docker container stop ocean_provider2_1
|
||||||
|
docker container stop ocean_ocean-contracts_1
|
||||||
|
docker container stop ocean_elasticsearch_1
|
||||||
|
docker container stop ocean_ganache_1
|
||||||
|
docker container stop ocean_faucet_1
|
||||||
|
docker container stop ocean_computetodata_1
|
||||||
|
docker container stop ocean_kindcluster_1
|
||||||
|
docker container stop ocean_redis_1
|
||||||
|
docker container stop ocean_dashboard_1
|
||||||
|
docker container stop docker-registry
|
||||||
|
docker container rm ocean_aquarius_1
|
||||||
|
docker container rm ocean_graph-node_1
|
||||||
|
docker container rm ocean_subgraph_1
|
||||||
|
docker container rm ocean_ipfs_1
|
||||||
|
docker container rm ocean_postgres_1
|
||||||
|
docker container rm ocean_provider_1
|
||||||
|
docker container rm ocean_provider2_1
|
||||||
|
docker container rm ocean_ocean-contracts_1
|
||||||
|
docker container rm ocean_elasticsearch_1
|
||||||
|
docker container rm ocean_ganache_1
|
||||||
|
docker container rm ocean_faucet_1
|
||||||
|
docker container rm ocean_computetodata_1
|
||||||
|
docker container rm ocean_kindcluster_1
|
||||||
|
docker container rm ocean_redis_1
|
||||||
|
docker container rm ocean_dashboard_1
|
||||||
|
docker container rm docker-registry
|
||||||
|
docker volume rm ocean_graphipfs
|
||||||
|
docker volume rm ocean_graphpgsql
|
||||||
|
docker volume rm ocean_provider1db
|
||||||
|
docker volume rm ocean_provider2db
|
||||||
|
|
||||||
|
docker network rm kind
|
||||||
|
docker volume rm $(docker volume ls -q)
|
Loading…
Reference in New Issue
Block a user