sudo docker run \
-it \
--name watch --rm \
-p 5001:5001 --net worker \
-v /home/ermiry/Documents/ermiry/Projects/watch-service:/home/watch \
-e RUNTIME=development \
-e PORT=5001 \
-e CERVER_RECEIVE_BUFFER_SIZE=4096 -e CERVER_TH_THREADS=4 \
-e CERVER_CONNECTION_QUEUE=4 \
-e MONGO_APP_NAME=watch -e MONGO_DB=worker \
-e MONGO_URI=mongodb://watch:password@mongo:27017/worker \
-e CONNECT_TO_REDIS=true -e REDIS_HOSTNAME=redis \
ermiry/watch-service:development /bin/bash
Access: Public
Description: Watch service top level route
Returns:
- 200 on success
Access: Public
Description: Returns watch service current version
Returns:
- 200 on success
Access: Public
Description: A user has requested to create a new transaction
Returns:
- 200 on success creating transaction
- 400 on failed to create new transaction
- 401 on failed auth
- 500 on server error