Skip to content

Commit

Permalink
Update MobyMask v1 and v2 watcher stack with new deployed contract (#512
Browse files Browse the repository at this point in the history
)

* Update mobymask v1 watcher with new contract

* Update mobymask v1 stack with deployment commands

* Use release tag for mobymask-watcher-ts repo

* Upgrade MobyMask version in v2 stack to use latest contract
  • Loading branch information
nikugogoi authored Aug 30, 2023
1 parent 53ed18b commit b5988fb
Show file tree
Hide file tree
Showing 10 changed files with 245 additions and 325 deletions.
30 changes: 18 additions & 12 deletions app/data/compose/docker-compose-watcher-mobymask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,42 +24,48 @@ services:
retries: 15
start_period: 10s

mobymask-watcher-server:
mobymask-watcher-job-runner:
restart: unless-stopped
depends_on:
mobymask-watcher-db:
condition: service_healthy
image: cerc/watcher-mobymask:local
command: ["sh", "-c", "yarn server"]
command: ["sh", "-c", "yarn job-runner"]
volumes:
- ../config/watcher-mobymask/mobymask-watcher.toml:/app/packages/mobymask-watcher/environments/local.toml
- ../config/watcher-mobymask/mobymask-watcher.toml:/app/environments/local.toml
ports:
- "0.0.0.0:3001:3001"
- "0.0.0.0:9001:9001"
- "0.0.0.0:9000:9000"
extra_hosts:
- "ipld-eth-server:host-gateway"
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "3001"]
test: ["CMD", "nc", "-v", "localhost", "9000"]
interval: 20s
timeout: 5s
retries: 15
start_period: 5s

mobymask-watcher-job-runner:
mobymask-watcher-server:
restart: unless-stopped
depends_on:
mobymask-watcher-server:
condition: service_healthy
mobymask-watcher-db:
condition: service_healthy
mobymask-watcher-job-runner:
condition: service_healthy
image: cerc/watcher-mobymask:local
command: ["sh", "-c", "yarn job-runner"]
command: ["sh", "-c", "yarn server"]
volumes:
- ../config/watcher-mobymask/mobymask-watcher.toml:/app/packages/mobymask-watcher/environments/local.toml
- ../config/watcher-mobymask/mobymask-watcher.toml:/app/environments/local.toml
ports:
- "0.0.0.0:9000:9000"
- "0.0.0.0:3001:3001"
- "0.0.0.0:9001:9001"
extra_hosts:
- "ipld-eth-server:host-gateway"
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "3001"]
interval: 20s
timeout: 5s
retries: 15
start_period: 5s

volumes:
mobymask_watcher_db_data:
Loading

0 comments on commit b5988fb

Please sign in to comment.