mock-lockdrop-watcher/stack/stack-orchestrator/compose/docker-compose-mock-lockdrop-watcher.yml
nabarun 562c10329e
All checks were successful
Publish mock-lockdrop-watcher docker image on release / Run docker build and publish (release) Successful in 59s
Handle SIGTERM and SIGINT signal (#3)
Part of https://plan.wireit.in/deepstack/browse/VUL-294/

Co-authored-by: Pranav <jadhavpranav89@gmail.com>
Reviewed-on: #3
2025-12-09 05:33:32 +00:00

24 lines
648 B
YAML

services:
mock-lockdrop-watcher-server:
image: cerc/mock-lockdrop-watcher:local
restart: unless-stopped
environment:
PORT: ${PORT:-6000}
VERIFIED_PARTICIPANTS_PATH: /tmp/watcher-data/verified-participants.json
GENERATED_WATCHER_EVENTS_OUTPUT_PATH: /tmp/watcher-data/generated
working_dir: /app/
command: ["node", "--enable-source-maps", "dist/index.js"]
volumes:
- watcher-data:/tmp/watcher-data
ports:
- "6000"
healthcheck:
test: ["CMD", "nc", "-vz", "127.0.0.1", "6000"]
interval: 20s
timeout: 5s
retries: 15
start_period: 5s
volumes:
watcher-data: