Skip to content

Commit

Permalink
Persist Nitro node data to a volume
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamesh0 committed Sep 18, 2023
1 parent cc9575a commit de3cd29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/data/compose/docker-compose-watcher-mobymask-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ services:
- ../config/watcher-mobymask-v2/generate-peer-ids.sh:/app/packages/peer/generate-peer-ids.sh
- peers_ids:/peer-ids

# Optionally deploys the Nitro contracts and sets them at the required path
# Optionally deploys the Nitro contracts; sets them at the required path
# Starts the MobyMask v3 watcher server
mobymask-watcher-server:
image: cerc/watcher-mobymask-v3:local
Expand Down Expand Up @@ -102,6 +102,7 @@ services:
- ../config/watcher-mobymask-v3/watcher-config-rates.toml:/app/environments/rates.toml
- ../config/watcher-mobymask-v3/keys:/app/keys
- ../config/watcher-mobymask-v3/start-server.sh:/app/start-server.sh
- nitro_data:/app/out/nitro-db
- peers_ids:/app/peers
- nitro_addresses:/nitro
- mobymask_deployment:/server
Expand All @@ -122,5 +123,6 @@ services:
volumes:
mobymask_watcher_db_data:
peers_ids:
nitro_addresses:
mobymask_deployment:
nitro_addresses:
nitro_data:

0 comments on commit de3cd29

Please sign in to comment.