All checks were successful
Publish mock-lockdrop-watcher docker image on release / Run docker build and publish (release) Successful in 59s
Part of https://plan.wireit.in/deepstack/browse/VUL-294/ Co-authored-by: Pranav <jadhavpranav89@gmail.com> Reviewed-on: #3
24 lines
648 B
YAML
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:
|